public function overwrite($key, $value=null)
    {
        if (!is_array($key)) {
            $this->overwrittenData[$key] = $value;
            return $this;
        }

        foreach ($key as $k=>$v) {
            $this->overwrite($k, $v);
        }

        return $this;
    }
public function overwrite($key, $value=null)
    {
        if (!is_array($key)) {
            $this->overwrittenData[$key] = $value;
            return $this;
        }

        foreach ($key as $k=>$v) {
            $this->overwrite($k, $v);
        }

        return $this;
    }
public function overwrite ( $ key , $ value = null ) { if ( ! is_array ( $ key ) ) { $ this -> overwrittenData [ $ key ] = $ value ; return $ this ; } foreach ( $ key as $ k => $ v ) { $ this -> overwrite ( $ k , $ v ) ; } return $ this ; }
Overwrite one or more view variables

@param string|array $key
@param mixed $value (optional)
@return self
Overwrite one or more view variables