public function reset()
    {
        $this->choiceCounter = 0;
        $this->setExploration(new SplStack());
        $this->setExplorationMarker(array());
        $this->setLastRendering(null);
        $this->setRenderingStack(new SplStack());
        $this->setXmlBaseStack(new SplStack());
        $this->setDocument(new DOMDocument('1.0', 'UTF-8'));
        $this->setStylesheets($this->getDocument()->createDocumentFragment());
        $this->setCurrentInteraction(null);
    }
public function reset()
    {
        $this->choiceCounter = 0;
        $this->setExploration(new SplStack());
        $this->setExplorationMarker(array());
        $this->setLastRendering(null);
        $this->setRenderingStack(new SplStack());
        $this->setXmlBaseStack(new SplStack());
        $this->setDocument(new DOMDocument('1.0', 'UTF-8'));
        $this->setStylesheets($this->getDocument()->createDocumentFragment());
        $this->setCurrentInteraction(null);
    }
public function reset ( ) { $ this -> choiceCounter = 0 ; $ this -> setExploration ( new SplStack ( ) ) ; $ this -> setExplorationMarker ( array ( ) ) ; $ this -> setLastRendering ( null ) ; $ this -> setRenderingStack ( new SplStack ( ) ) ; $ this -> setXmlBaseStack ( new SplStack ( ) ) ; $ this -> setDocument ( new DOMDocument ( '1.0' , 'UTF-8' ) ) ; $ this -> setStylesheets ( $ this -> getDocument ( ) -> createDocumentFragment ( ) ) ; $ this -> setCurrentInteraction ( null ) ; }
Reset the engine to its initial state, in order
to be ready for reuse i.e. render a new component. However,
configuration such as policies are kept intact.
Reset the engine to its initial state in order to be ready for reuse i . e . render a new component . However configuration such as policies are kept intact .