Get Smarty

Donate

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Buy cheap glasses from Cheapglasses123.com and save up to 80%.

Where to buy prescription glasses? EyewearCanada.com is your best choice!

Visit www.sport-kick.com for cheap soccer cleats, sneakers and Soccer Jerseys updates

Advertisement

$php_handling

Isso diz à Smarty como manipular códigos PHP contido nos templates. Há quatro possíveis configurações, padrão sendo SMARTY_PHP_PASSTHRU. Note que isso NÃO fará efeito com códigos php dentro de tags {php}{/php} no template.

  • SMARTY_PHP_PASSTHRU - Smarty echos tags as-is.

  • SMARTY_PHP_QUOTE - Smarty quotes the tags as html entities.

  • SMARTY_PHP_REMOVE - Smarty irá remover as tags do template.

  • SMARTY_PHP_ALLOW - Smarty irá executar as tags como códigos PHP.

NOTE: Usando códigos PHP code dentro de templates é altamente desencorajado. Use custom functions ou modifiers ao invés disso.

Comments
No comments for this page.

Advertisement