function handle($args)
 {
     parent::handle($args);
     if ($_SERVER['REQUEST_METHOD'] == 'POST') {
         $this->handlePost();
     } else {
         $this->showForm();
     }
 }
Beispiel #2
0
 /**
  * Handle the request
  *
  * On GET, show the form. On POST, try to save the group.
  *
  * @return void
  */
 protected function handle()
 {
     parent::handle();
     if ($_SERVER['REQUEST_METHOD'] == 'POST') {
         $this->trySave();
     } else {
         $this->showForm();
     }
 }
Beispiel #3
0
 function handle($args)
 {
     parent::handle($args);
     $this->showPage();
 }
Beispiel #4
0
 /**
  * Handle the request
  *
  * Shows a profile for the group, some controls, and a list of
  * group notices.
  *
  * @return void
  */
 protected function handle()
 {
     parent::handle();
     $this->showPage();
 }