get() (Previous) (Next) getCurrentBlock()

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

getBlockList()

getBlockList() -- テンプレート内のブロックの一覧を返す

説明

テンプレート内のブロックの一覧を返します。

$recursiveFALSE の場合は、 $parent の直下のサブブロックのみを 'フラットな' 配列で返します。 $recursiveTRUE の場合は、 $parent をルートとするテンプレートブロックのツリーを作成します。 ツリーの構造は、PEAR::Tree の Memory_Array ドライバと同じものになります。

パラメータ

string $parent

親ブロック名。

boolean $recursive

子ブロックのツリーを返す (TRUE) か 'フラット' な配列を返す (FALSE) か。

返り値

子ブロックの一覧を返します。

注意

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

get() (Previous) (Next) getCurrentBlock()

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.