PHP Class UserDetailsForm, pkp-lib

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

Public Properties

Property Type Description
$author optional author to base this user on

Public Methods

Method Description
__construct ( $request, $userId = null, $author = null ) Constructor.
display ( $args, $request ) Display the form.
execute ( $args, $request ) Create or update a user.
getLocaleFieldNames ( ) Get all locale field names
initData ( $args, $request ) Initialize form data from current user profile.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor.
public __construct ( $request, $userId = null, $author = null )
$request PKPRequest
$userId int optional
$author Author optional

display() public method

Display the form.
public display ( $args, $request )
$args array
$request PKPRequest

execute() public method

Create or update a user.
public execute ( $args, $request )
$args array
$request PKPRequest

getLocaleFieldNames() public method

Get all locale field names
public getLocaleFieldNames ( )

initData() public method

Initialize form data from current user profile.
public initData ( $args, $request )
$args array
$request PKPRequest

readInputData() public method

Assign form data to user-submitted data.
See also: Form::readInputData()
public readInputData ( )

Property Details

$author public_oe property

optional author to base this user on
public $author