自動的な表のリンクと結合 (Previous) (Next) ->getLinks()

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->getLink()

->getLink() -- 関連するオブジェクトをフェッチして返す

説明

関連するオブジェクトをフェッチします。 これは、links.ini ファイルの <dbname> 設定が結合で使用されます (この詳細についてはリンクの導入を参照してください。)

また、カラムや関連テーブルとカラムを明示するために全てのパラメータを指定します。

パラメータ

  • string $column - カラムまたは column.xxxxx のどちらかを指定します

  • string $table - 値を検索するためのテーブル名を指定します

  • string $link - 他方のテーブルでマッチさせるカラム名を指定します

返り値

mixed - 成功時はオブジェクト、失敗時は FALSE

注意

この関数は、スタティックにコールする ことはできません。

自動的な表のリンクと結合 (Previous) (Next) ->getLinks()

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: archenemy@gafapasta.com
does this work at all when passing 3 parameters? i'm getting a full select of the linked table with the first result returned as the 'link'.

even the parameter names in the function definition don't match the explanation a few lines down in the doc.