{method(arguments,#quoted arguments#)} (Previous) (Next) {if:variable}

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

{foreach:variable,key,value}

{foreach:variable,key,value} -- PHP の foreach ループを作成する

説明

foreach ループを作成します。{end:} タグが必要です。 エンジンがそのスコープ内に変数を追加するので、ループ内で変数を使用する場合は $t-> をつける必要がないことに注意しましょう。

パラメータ

  • string variable - $object->variable に対応します。

  • string key - 現在のスコープで使用する変数 'key' を作成します。

  • string value - オプションで、 現在のスコープで使用する変数 'value' を作成します ($key=>$value 形式)。

{method(arguments,#quoted arguments#)} (Previous) (Next) {if:variable}

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.