/**
  * Override for walkthrough tests. Need to store the config data so certain values can
  *  be reset to the original config value when resetting the application to run another walkthrough.
  */
 public function __construct($config = null)
 {
     parent::__construct($config);
     $this->configLanguageValue = $this->language;
     $this->configTimeZoneValue = $this->timeZoneHelper->getTimeZone();
     // We need explicitly to raise this event, because CApplication::run() method
     // where OnBeginRequest event is raised is never called
     // For more informationn check: app/protected/tests/common/bootstrap.php
     if ($this->hasEventHandler('onBeginRequest')) {
         $this->onBeginRequest(new CEvent($this));
     }
 }
示例#2
0
	public function __construct($root_dir, $template_dir = 'templates/doctor') {
		parent::__construct($root_dir, $template_dir);
	}
示例#3
0
 public function __construct($config = null)
 {
     parent::__construct($config);
 }