示例#1
0
 /**
  * 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
 public function handle(IEvent $event, $name, IDispatcher $dispatcher)
 {
     parent::handle($event, $name, $dispatcher);
 }