array( 'type' => 'int', 'col' => 'id_emailmaster', 'form' => 'idEmailmaster', ), 'Path' => array( 'type' => 'text', 'col' => 'path_emailmaster', 'form' => 'pathEmailmaster', ), 'Name' => array( 'type' => 'text', 'col' => 'name_emailmaster', 'form' => 'nameEmailmaster', ), 'DB' => array( 'type' => 'text', 'col' => 'db_emailmaster', 'form' => 'dbEmailmaster', 'label' => true, 'order' => true, ), 'eMailMaster_Login' => array( 'type' => 'ext-object', 'class' => 'eMailMaster_Login', ), 'Societe' => array( 'type' => 'object', 'class' => 'Societe', 'col' => 'default', ), ); function getProperties() { return self::$properties; } function initByPath($path) { $Obj = Object_Factory::Build(__CLASS__); if ($Obj = $Obj->Search($Obj->Sql('Path', $path))) { return $Obj->current(); } else { return false; } } } ?>