public function getVarValue($key, $default = false)
    {
        return (isset($this->_varValues[$key]) && $this->_varValues[$key] != '') ? $this->_varValues[$key] : $default;
    }
public function getVarValue($key, $default = false)
    {
        return (isset($this->_varValues[$key]) && $this->_varValues[$key] != '') ? $this->_varValues[$key] : $default;
    }
public function getVarValue ( $ key , $ default = false ) { return ( isset ( $ this -> _varValues [ $ key ] ) && $ this -> _varValues [ $ key ] != '' ) ? $ this -> _varValues [ $ key ] : $ default ; }
Get var value.

If the key does not exist in the array, is an empty string or null the default value will be returned.

@param string $key The name of the key you want to retrieve
@param mixed  $default A default value that will be returned if the key isn't found or empty.
@return mixed
Get var value .