Example #1
0
 /**
  * Handle the request
  *
  * On GET, show the form. On POST, try to save the group.
  *
  * @param array $args unused
  *
  * @return void
  */
 function handle($args)
 {
     parent::handle($args);
     if ($_SERVER['REQUEST_METHOD'] == 'POST') {
         $this->trySave();
     } else {
         $this->showForm();
     }
 }
Example #2
0
 function handle($args)
 {
     parent::handle($args);
     $this->showPage();
 }