コード例 #1
0
ファイル: pradolite.php プロジェクト: tejdeeps/tejcs.com
 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);
     }
 }
コード例 #2
0
ファイル: TCompositeControl.php プロジェクト: Nurudeen/prado
 /**
  * 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);
 }