->getLink()

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

Synopsis

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

Beschreibung

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

Rückgabewert

mixed - object on success or FALSE on failure.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Beispiel