protected function initRuntimeVars(ITemplate $tpl)
    {
        $this->runtimePlugins = array();
        $this->scope          = &$this->data;
        $this->scopeTree      = array();
        $this->stack          = array();
        $this->curBlock       = null;
        $this->buffer         = '';
        $this->returnData     = array();
    }
protected function initRuntimeVars(ITemplate $tpl)
    {
        $this->runtimePlugins = array();
        $this->scope          = &$this->data;
        $this->scopeTree      = array();
        $this->stack          = array();
        $this->curBlock       = null;
        $this->buffer         = '';
        $this->returnData     = array();
    }
protected function initRuntimeVars ( ITemplate $ tpl ) { $ this -> runtimePlugins = array ( ) ; $ this -> scope = & $ this -> data ; $ this -> scopeTree = array ( ) ; $ this -> stack = array ( ) ; $ this -> curBlock = null ; $ this -> buffer = '' ; $ this -> returnData = array ( ) ; }
Re-initializes the runtime variables before each template run.
override this method to inject data in the globals array if needed, this
method is called before each template execution

@param ITemplate $tpl the template that is going to be rendered

@return void
Re - initializes the runtime variables before each template run . override this method to inject data in the globals array if needed this method is called before each template execution