Prado\Web\UI\WebControls\TOutputCache::initRecursive PHP Method

initRecursive() protected method

This method overrides the parent implementation by setting up the stack of the output cache in the page. Only framework developers should use this method.
protected initRecursive ( $namingContainer = null )
    protected function initRecursive($namingContainer = null)
    {
        if ($this->_cacheAvailable && !$this->_dataCached) {
            $stack = $this->getPage()->getCachingStack();
            $stack->push($this);
            parent::initRecursive($namingContainer);
            $stack->pop();
        } else {
            parent::initRecursive($namingContainer);
        }
    }