public function getStackEntry($var = null, $section = false, $stack = null, $default = null)
    {
        if (!empty($var)) {
            if (!empty($stack) && $this->isStack($stack)) {
                $tmp_stack = $this->registry;
                $this->loadStack($stack);
                $val = $this->getEntry($var, $section, $default);
                $this->registry = $tmp_stack;
                return $val;
            }
            return $this->getEntry($var, $section, $default);
        }
    }
public function getStackEntry($var = null, $section = false, $stack = null, $default = null)
    {
        if (!empty($var)) {
            if (!empty($stack) && $this->isStack($stack)) {
                $tmp_stack = $this->registry;
                $this->loadStack($stack);
                $val = $this->getEntry($var, $section, $default);
                $this->registry = $tmp_stack;
                return $val;
            }
            return $this->getEntry($var, $section, $default);
        }
    }
public function getStackEntry ( $ var = null , $ section = false , $ stack = null , $ default = null ) { if ( ! empty ( $ var ) ) { if ( ! empty ( $ stack ) && $ this -> isStack ( $ stack ) ) { $ tmp_stack = $ this -> registry ; $ this -> loadStack ( $ stack ) ; $ val = $ this -> getEntry ( $ var , $ section , $ default ) ; $ this -> registry = $ tmp_stack ; return $ val ; } return $ this -> getEntry ( $ var , $ section , $ default ) ; } }
Get a stack entry of the registry stacks

@param   string  $var        The variable name to search
@param   string  $section    A section name in the registry (default is FALSE)
@param   string  $stack      The stack name to search in
@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 a stack entry of the registry stacks