RegistrationHandler::register PHP Метод

register() публичный Метод

Display registration form for new users.
public register ( $args, $request )
$args array
$request PKPRequest
    function register($args, $request)
    {
        $this->validate($request);
        $this->setupTemplate($request);
        import('lib.pkp.classes.user.form.RegistrationForm');
        $regForm = new RegistrationForm($request->getSite());
        $regForm->initData($request);
        $regForm->display($request);
    }

Usage Example

Пример #1
0
 function register()
 {
     import('pages.user.RegistrationHandler');
     RegistrationHandler::register();
 }