parseCurrentBlock() (Previous) (Next) replaceBlock()

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

placeholderExists()

placeholderExists() -- プレースホルダが存在するかどうかを調べる

説明

プレースホルダがテンプレート内に存在するかどうかを調べ、 指定したプレースホルダを含む (最初の) ブロックの名前を返します。

パラメータ

string $placeholder

探しているプレースホルダの名前。

string $block

探すブロックの名前。省略した場合 (デフォルト) は、すべてのブロックを探します。

返り値

指定したプレースホルダを含む (最初の) ブロックの名前を返します。

注意

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

parseCurrentBlock() (Previous) (Next) replaceBlock()

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:
There are no user contributed notes for this page.