->getLink()

->getLink() -- fetch and return a related object

Referentiesamenvatting

mixed $DB_DataObject->getLink (string $column [, string $table [, string $key]])

Beschrijving

Fetch a related object. This should be used in conjunction with a <dbname>.links.ini file configuration (see the introduction on linking for details on this).

You may also use this with all parameters to specify, the column, and related table and column.

Parameter

Return waarde

mixed - object on success or FALSE on failure.

Note

Deze functie kan niet statisch worden aangeroepen.

Voorbeeld