Example #1
0
 /**
  * run
  * @access public
  * @return void
  */
 public function run()
 {
     // set up core components;
     $this->setup();
     View::assignLanguage();
     // use controller to dispatch
     Controller::dispatch($this->mDefaultController, $this->mCore);
     // use view
     View::display();
     if ($this->mCache) {
         $this->mCache->save();
     }
     $this->execTime();
 }