Tuesday 18 March 2008 9:38:08 am
Hello
I need to transfert a no-ez database to ezpublish database.
I've just a problem.. I have an array of a table named test I ve create a definition function :
function definition() {
return array(
"fields" => array(
"ID_LIEN" => array(
"name" => "ID_LIEN",
"datatype" => "interger",
"default" => 0,
"required" => true ),
"ID_CATEG" => array(
"name" => "ID_CATEG",
"datatype" => "integer",
"default" => "",
"required" => true ),
"TITRE" => array(
"name" => "TITRE",
"datatype" => "string",
"default" => "",
"required" => true) ),
"keys" => array( "ID_LIEN" ),
"increment_key" => "ID_LIEN",
"class_name" => "test_Liens",
"name" => "testliens_table"
);
}
i ve try to do
$link = new FHF_Liens($rows);
$link->store();
but it doesn't appear on back office .. If someone can help me Thanks !
Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321
G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe
|