Open Journal Systems  3.3.0
UserFormHelper Class Reference

Public Member Functions

 __construct ()
 
 assignRoleContent ($templateMgr, $request)
 
 saveRoleContent ($form, $user)
 

Detailed Description

Helper functions for shared user form concerns.

Definition at line 16 of file UserFormHelper.inc.php.

Constructor & Destructor Documentation

◆ __construct()

UserFormHelper::__construct ( )

Constructor

Definition at line 20 of file UserFormHelper.inc.php.

Member Function Documentation

◆ assignRoleContent()

UserFormHelper::assignRoleContent (   $templateMgr,
  $request 
)

Assign role selection content to the template manager.

Parameters
$templateMgrPKPTemplateManager
$requestPKPRequest

Definition at line 28 of file UserFormHelper.inc.php.

References Application\getContextDAO(), and DAORegistry\getDAO().

◆ saveRoleContent()

UserFormHelper::saveRoleContent (   $form,
  $user 
)

Save role elements of an executed user form.

Parameters
$formForm The form from which to fetch elements
$userUser The current user

Definition at line 65 of file UserFormHelper.inc.php.

References Application\getContextDAO(), and DAORegistry\getDAO().


The documentation for this class was generated from the following file: