public function append($name, $value = null)
    {
        if (is_array($name)) {
            foreach ($name as $key => $val) {
                if (isset($this->_vars[$key])) {
                    $this->_vars[$key] .= $val;
                } else {
                    $this->_vars[$key] = $val;
                }
            }
        } else {
            if (isset($this->_vars[$name])) {
                $this->_vars[$name] .= $value;
            } else {
                $this->_vars[$name] = $value;
            }
        }
    }
public function append($name, $value = null)
    {
        if (is_array($name)) {
            foreach ($name as $key => $val) {
                if (isset($this->_vars[$key])) {
                    $this->_vars[$key] .= $val;
                } else {
                    $this->_vars[$key] = $val;
                }
            }
        } else {
            if (isset($this->_vars[$name])) {
                $this->_vars[$name] .= $value;
            } else {
                $this->_vars[$name] = $value;
            }
        }
    }
public function append ( $ name , $ value = null ) { if ( is_array ( $ name ) ) { foreach ( $ name as $ key => $ val ) { if ( isset ( $ this -> _vars [ $ key ] ) ) { $ this -> _vars [ $ key ] .= $ val ; } else { $ this -> _vars [ $ key ] = $ val ; } } } else { if ( isset ( $ this -> _vars [ $ name ] ) ) { $ this -> _vars [ $ name ] .= $ value ; } else { $ this -> _vars [ $ name ] = $ value ; } } }
concat a value in with a value of an existing template variable.

@param string|array $name  the variable name, or an associative array 'name'=>'value'
@param mixed        $value the value (or null if $name is an array)
concat a value in with a value of an existing template variable .