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); } }
/** * Performs the OnInit step for the control and all its child controls. * This method overrides the parent implementation * by ensuring child controls are created first. * Only framework developers should use this method. * @param TControl the naming container control */ protected function initRecursive($namingContainer = null) { $this->ensureChildControls(); parent::initRecursive($namingContainer); }