public function getEntry($var = null, $section = false, $default = null)
    {
        if (!empty($var)) {
            if (!empty($section) && isset($this->registry[$section]) && isset($this->registry[$section][$var])) {
                return $this->registry[$section][$var];
            } elseif (isset($this->registry[$var])) {
                return $this->registry[$var];
            }
        }
        return !is_null($default) ? $default : false;
    }
public function getEntry($var = null, $section = false, $default = null)
    {
        if (!empty($var)) {
            if (!empty($section) && isset($this->registry[$section]) && isset($this->registry[$section][$var])) {
                return $this->registry[$section][$var];
            } elseif (isset($this->registry[$var])) {
                return $this->registry[$var];
            }
        }
        return !is_null($default) ? $default : false;
    }
public function getEntry ( $ var = null , $ section = false , $ default = null ) { if ( ! empty ( $ var ) ) { if ( ! empty ( $ section ) && isset ( $ this -> registry [ $ section ] ) && isset ( $ this -> registry [ $ section ] [ $ var ] ) ) { return $ this -> registry [ $ section ] [ $ var ] ; } elseif ( isset ( $ this -> registry [ $ var ] ) ) { return $ this -> registry [ $ var ] ; } } return ! is_null ( $ default ) ? $ default : false ; }
Get an entry from the instance registry

@param   string  $var        The variable name to get
@param   string  $section    A section name in the registry (default is FALSE)
@param   mixed   $default    The default value to return if it is not in registry (default is NULL)
@return  mixed   The value found or $default
Get an entry from the instance registry