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

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

{variable}

{variable} -- creates PHP code to echo a variable

Beschreibung

creates PHP code to echo a variable, with optional modifier. Modifiers are

  • No Modifier - does htmlspecialchars($variable)

  • :h - echos without any change - eg. raw

  • :u - echos urlencode($variable)

by default variables are assumed to have calling scope, and are prefixed with $t->, however if they are inside a loop (foreach), then the variables created by the loop are added to the scope and the prefix is not added.

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

Download Documentation Last updated: Sun, 28 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.