assignByRef example

        $this->registerPlugin('block', 'php', 'smarty_php_tag');
    }

    /** * wrapper for assign_by_ref * * @param string $tpl_var the template variable name * @param mixed &$value the referenced value to assign */
    public function assign_by_ref($tpl_var, &$value)
    {
        $this->assignByRef($tpl_var$value);
    }

    /** * wrapper for append_by_ref * * @param string $tpl_var the template variable name * @param mixed &$value the referenced value to append * @param boolean $merge flag if array elements shall be merged */
    public function append_by_ref($tpl_var, &$value$merge = false)
    {
        
Home | Imprint | This part of the site doesn't use cookies.