ArininAV

->getLink()

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

Synopsis

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

Описание

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.

Параметр

Возвращаемое значение

mixed - object on success or FALSE on failure.

Заметка

Эта функция не должна вызываться статически.

Пример