->getLink()

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

Synopsis

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

Description

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 row, and related table and row.

Parameter

Return value

mixed - object on success or FALSE on failure.

Note

This function can not be called statically.

Example