concrete/src/Authentication/AuthenticationType.php
public function renderHook()
    {
        $form_hook = $this->mapAuthenticationTypeFilePath('hook.php');
        if (method_exists($this->controller, 'hook') || $form_hook->exists()) {
            ob_start();
            if (method_exists($this->controller, 'hook')) {
                $this->controller->hook();
            }
            if ($form_hook->exists()) {
                $controller = $this->controller;
                extract($this->controller->getSets());
                require_once $form_hook->file;
            }
            $out = ob_get_contents();
            ob_end_clean();
            echo $out;
        }
    }
public function renderHook()
    {
        $form_hook = $this->mapAuthenticationTypeFilePath('hook.php');
        if (method_exists($this->controller, 'hook') || $form_hook->exists()) {
            ob_start();
            if (method_exists($this->controller, 'hook')) {
                $this->controller->hook();
            }
            if ($form_hook->exists()) {
                $controller = $this->controller;
                extract($this->controller->getSets());
                require_once $form_hook->file;
            }
            $out = ob_get_contents();
            ob_end_clean();
            echo $out;
        }
    }
public function renderHook ( ) { $ form_hook = $ this -> mapAuthenticationTypeFilePath ( 'hook.php' ) ; if ( method_exists ( $ this -> controller , 'hook' ) || $ form_hook -> exists ( ) ) { ob_start ( ) ; if ( method_exists ( $ this -> controller , 'hook' ) ) { $ this -> controller -> hook ( ) ; } if ( $ form_hook -> exists ( ) ) { $ controller = $ this -> controller ; extract ( $ this -> controller -> getSets ( ) ) ; require_once $ form_hook -> file ; } $ out = ob_get_contents ( ) ; ob_end_clean ( ) ; echo $ out ; } }
Render the hook form for saving the profile settings.
All settings are expected to be saved by each individual authentication type.
Render the hook form for saving the profile settings . All settings are expected to be saved by each individual authentication type .