/** * 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(); } }
function handle($args) { parent::handle($args); $this->showPage(); }