Архив документации OpenNet.ru / Раздел "PHP" / Индекс

$php_handling

This tells Smarty how to handle PHP code embedded in the templates. There are four possible settings, default being SMARTY_PHP_PASSTHRU. Note that this does NOT affect php code within {php}{/php} tags in the template.

NOTE: Embedding PHP code into templates is highly discouraged. Use custom functions or modifiers instead.


Архив документации на OpenNet.ru