HTML_Template_IT::setVariable()

HTML_Template_IT::setVariable()

HTML_Template_IT::setVariable() -- set a variable

Description

Set the value of a variable in the current template block

Parameter

  • mixed $placeholder - name of the placeholder to substitute or a array with the placeholder as key and the data to assign as value.

  • mixed $variable - if $placeholder is not a array, the value to assign to the placeholder.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.