/**
  * Render the hook form for saving the profile settings.
  * All settings are expected to be saved by each individual authentication type
  */
 public function renderHook()
 {
     $form = $this->mapAuthenticationTypeFilePath('hook.php');
     if ($form->exists()) {
         ob_start();
         $this->controller->hook();
         extract($this->controller->getSets());
         require_once $form->file;
         $out = ob_get_contents();
         ob_end_clean();
         echo $out;
     }
 }
Пример #2
0
 public function request($key = null)
 {
     return parent::request($key);
 }