$factory->setRequired() (Previous) (Next) {method(arguments,#quoted arguments#)}

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

{variable}

{variable} -- 変数を表示するための PHP コードを作成する

説明

変数を表示するための PHP コードを作成します。 オプションで修正子を指定できます。指定できる修正子は次のとおりです

  • 修正子なし - htmlspecialchars($variable) を行います

  • :h - なにも手を加えずに表示します

  • :u - urlencode($variable) を表示します

デフォルトでは、変数は呼び出し元のスコープにあるとみなされ、 先頭に $t-> がつきます。しかし、もしループ (foreach) 内に変数があるのなら、 ループで作成された変数はそのスコープに追加されるので先頭には何もつきません。

$factory->setRequired() (Previous) (Next) {method(arguments,#quoted arguments#)}

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.