PHP Class UserFormHelper, pkp-lib

Mostra file Open project: pkp/pkp-lib Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
assignRoleContent ( $templateMgr, $request ) Assign role selection content to the template manager.
saveRoleContent ( $form, $user ) Save role elements of an executed user form.

Method Details

__construct() public method

Constructor
public __construct ( )

assignRoleContent() public method

Assign role selection content to the template manager.
public assignRoleContent ( $templateMgr, $request )
$templateMgr PKPTemplateManager
$request PKPRequest

saveRoleContent() public method

Save role elements of an executed user form.
public saveRoleContent ( $form, $user )
$form Form The form from which to fetch elements
$user User The current user