public function saveStack($index = null, $and_clean = false)
    {
        $this->registry_stacks[$index] = $this->registry;
        if ($and_clean===true) {
            $this->registry=array();
        }
        return $this;
    }
public function saveStack($index = null, $and_clean = false)
    {
        $this->registry_stacks[$index] = $this->registry;
        if ($and_clean===true) {
            $this->registry=array();
        }
        return $this;
    }
public function saveStack ( $ index = null , $ and_clean = false ) { $ this -> registry_stacks [ $ index ] = $ this -> registry ; if ( $ and_clean === true ) { $ this -> registry = array ( ) ; } return $ this ; }
Save a stack of entries in registry

@param   string  $index      The stack index
@param   bool    $and_clean  Clean the actual registry after recorded the stack (default is FALSE)
@return  self
Save a stack of entries in registry