function showInviteForm() { if (Event::handle('StartShowInviteForm', array($this))) { $form = new InviteForm($this); $form->show(); Event::handle('EndShowInviteForm', array($this)); } }