src/Models/View.php
public function getVar($key)
    {
        return (array_key_exists($key, $this->vars)) ? $this->vars[$key] : null;
    }
public function getVar($key)
    {
        return (array_key_exists($key, $this->vars)) ? $this->vars[$key] : null;
    }
public function getVar ( $ key ) { return ( array_key_exists ( $ key , $ this -> vars ) ) ? $ this -> vars [ $ key ] : null ; }
Retrieves a stored variable

@access public
@param string $key                 The name of the variable
@return mixed
Retrieves a stored variable