DB_NestedSet::getBranch (Previous) (Next) DB_NestedSet::getParent

View this page in Last updated: Sun, 24 Aug 2008
English | French | German | Japanese | Plain HTML

DB_NestedSet::getChildren()

DB_NestedSet::getChildren()  -- 指定した ID のノードの直下のレベルの子を取得する

説明

このパッケージに関する文書は、未作成です。

パラメータ

integer $id

ノード ID。

boolean $keepAsArray

(オプション) 結果を配列で保持するか、 それを DB_NestedSet_Node オブジェクトのセットに変換するか?

boolean $aliasFields

(オプション) フィールドのエイリアスを作成してパラメータのキーの名前とするか、 そのままにしておくか?

boolean $forceNorder

(オプション) 結果を norder の内容でソートする (セカンダリソートの値とは異なる)。 move メソッドおよび add メソッドで使用します。

array $addSQL

(オプション) クエリに渡す追加パラメータの配列。

返り値

ノードの配列、あるいはエラー時に false を返します。

参照

_addSQL も参照ください。

例外・エラー

例外はスローされません。

注意

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

DB_NestedSet::getBranch (Previous) (Next) DB_NestedSet::getParent

Download Documentation Last updated: Sun, 24 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: Burrito Grande
If the node has no children, this function appears to return false.

(I was expecting an empty array from what was written above)