src/View/SSViewer_Scope.php
public function resetLocalScope()
    {
        // Restore previous un-completed lookup chain if set
        $previousLocalState = $this->localStack ? array_pop($this->localStack) : null;
        array_splice($this->itemStack, $this->localIndex + 1, count($this->itemStack), $previousLocalState);

        list(
            $this->item,
            $this->itemIterator,
            $this->itemIteratorTotal,
            $this->popIndex,
            $this->upIndex,
            $this->currentIndex
        ) = end($this->itemStack);
    }
public function resetLocalScope()
    {
        // Restore previous un-completed lookup chain if set
        $previousLocalState = $this->localStack ? array_pop($this->localStack) : null;
        array_splice($this->itemStack, $this->localIndex + 1, count($this->itemStack), $previousLocalState);

        list(
            $this->item,
            $this->itemIterator,
            $this->itemIteratorTotal,
            $this->popIndex,
            $this->upIndex,
            $this->currentIndex
        ) = end($this->itemStack);
    }
public function resetLocalScope ( ) { // Restore previous un-completed lookup chain if set $ previousLocalState = $ this -> localStack ? array_pop ( $ this -> localStack ) : null ; array_splice ( $ this -> itemStack , $ this -> localIndex + 1 , count ( $ this -> itemStack ) , $ previousLocalState ) ; list ( $ this -> item , $ this -> itemIterator , $ this -> itemIteratorTotal , $ this -> popIndex , $ this -> upIndex , $ this -> currentIndex ) = end ( $ this -> itemStack ) ; }
Reset the local scope - restores saved state to the "global" item stack. Typically called after
a lookup chain has been completed
Reset the local scope - restores saved state to the global item stack . Typically called after a lookup chain has been completed