Exemplo n.º 1
0
Arquivo: XPage.php Projeto: hung5s/yap
 public function init()
 {
     parent::init();
 }
Exemplo n.º 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);
     }
 }