->getLink()
Описание
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.
Параметр
string $column - either column or column.xxxxx
string $table - name of table to look up value in
string $link - name of column in other table to match
Пример
Пример 35-1. Getting the related object
|
Пример 35-2. Resulting SQL
|
Пред. | Начало | След. |
Automatic Table Linking and Joins | Уровень выше | ->getLinks() |