/** * action=protect handler */ public function protect() { $form = new ProtectionForm($this); $form->execute(); }
/** * action=protect handler */ function protect() { require_once 'ProtectionForm.php'; $form = new ProtectionForm($this); $form->show(); }
/** * action=protect handler */ function protect() { $form = new ProtectionForm($this); $form->show(); }
/** * action=protect handler */ public function protect() { # Wikia change @author nAndy wfRunHooks('BeforePageProtect', array(&$this)); # End of Wikia change $form = new ProtectionForm($this); $form->execute(); }