public function getVar($name = null)
    {
        $context = $this->_context;

        if ($name === null) {
            return $context->vars;
        } else {
            return isset($context->vars[$name]) ? $context->vars[$name] : null;
        }
    }
public function getVar($name = null)
    {
        $context = $this->_context;

        if ($name === null) {
            return $context->vars;
        } else {
            return isset($context->vars[$name]) ? $context->vars[$name] : null;
        }
    }
public function getVar ( $ name = null ) { $ context = $ this -> _context ; if ( $ name === null ) { return $ context -> vars ; } else { return isset ( $ context -> vars [ $ name ] ) ? $ context -> vars [ $ name ] : null ; } }
Returns a parameter previously set in the view

@param string $name

@return mixed
Returns a parameter previously set in the view