Пример #1
0
 public function init($mode = Controller::MODE_NORMAL)
 {
     parent::init($mode);
     if ($mode & Controller::INIT_TODO) {
         $this->initTodo();
     }
     return $this;
 }
Пример #2
0
 /**
  * @expectedException \Psc\CMS\Controller\SystemException
  */
 public function testFileNameExceptionTricky()
 {
     $this->ctrl->setName(NULL);
     $this->ctrl->getFileName();
 }