示例#1
0
文件: XPage.php 项目: hung5s/yap
 public function init()
 {
     parent::init();
 }
示例#2
0
 /**
  * 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);
     }
 }