Automatic Table Linking and Joins (Previous) (Next) ->getLinks()

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->getLink()

->getLink() -- Récupère et retourne un objet

Description

Récupère un objet. Cette méthode doit être utilisée en conjonction avec le fichier de configuration <dbname>.links.ini (voir l'introduction sur le liage pour plus de détails sur ceci).

Vous pouvez également utiliser cette méthode avec tous ses paramètres pour spécifier la colonne ainsi que la table liée et sa colonne.

Paramètres

  • string $column - soit une colonne, soit un colonne.xxxxx

  • string $table - nom de la table dans laquelle nous devons chercher une valeur

  • string $link - nom de colonne dans une autre table qui correspond

Valeur retournée

mixed - un objet en cas de succès, FALSE si une erreur survient.

Note

Cette fonction ne peut pas être appelée de façon statique.

Automatic Table Linking and Joins (Previous) (Next) ->getLinks()

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: archenemy@gafapasta.com
does this work at all when passing 3 parameters? i'm getting a full select of the linked table with the first result returned as the 'link'.

even the parameter names in the function definition don't match the explanation a few lines down in the doc.