Beispiel #1
0
 function __construct($controller = NULL, $application = NULL)
 {
     parent::__construct($controller, $application);
     $this->submit = strtolower(__Request::get('submit', '')) == 'submit' || strtolower(__Request::get('submit', '')) == 'submitclose';
     $this->show = strtolower(__Request::get('action', '')) == 'show';
     $this->refreshPage = strtolower(__Request::get('action', '')) == 'close' || strtolower(__Request::get('submit', '')) == 'submitclose';
     $this->id = intval(__Request::get('id', ''));
     $this->pageId = $this->application->getPageId();
 }
Beispiel #2
0
 function __construct($view = NULL, $application = NULL)
 {
     parent::__construct($view, $application);
     $this->submit = strtolower(__Request::get('submit', '')) == 'submit';
 }