コード例 #1
0
ファイル: XPage.php プロジェクト: hung5s/yap
 public function init()
 {
     parent::init();
 }
コード例 #2
0
ファイル: CDbConnection1.php プロジェクト: nbaiwan/yav
 /**
  * Initializes the component.
  * This method is required by {@link IApplicationComponent} and is invoked by application
  * when the CDbConnection is used as an application component.
  * If you override this method, make sure to call the parent implementation
  * so that the component can be marked as initialized.
  */
 public function init()
 {
     parent::init();
     if ($this->auto_connect) {
         $this->setActive(true);
     }
 }