コード例 #1
0
ファイル: ControllerTest.php プロジェクト: rawphp/RawRouter
 /**
  * Helper method callback when the view has been loaded by the
  * controller action.
  */
 public function afterActionViewCallback()
 {
     $this->assertNotFalse(strstr($this->controller->getPageView(), '<title>Welcome to RawPHP - RawPHP</title>'));
     $this->assertNotFalse(strstr($this->controller->getPageView(), '<h1>Welcome to RawPHP</h1>'));
     $this->assertNotFalse(strstr($this->controller->getPageView(), '<h4>You will absolutely love RawPHP!!!</h4>'));
 }
コード例 #2
0
ファイル: LEController.php プロジェクト: rawphp/RawRouter
 public function handle(IEvent $event, $name, IDispatcher $dispatcher)
 {
     parent::handle($event, $name, $dispatcher);
 }