Public Member Functions

PeopleHandler Class Reference
[Pages_manager]

Handle requests for people management functions. More...

Inheritance diagram for PeopleHandler:
ManagerHandler Handler

List of all members.

Public Member Functions

 createUser ()
 disableUser ($args)
 editUser ($args=array())
 enableUser ($args)
 enroll ($args)
 enrollSearch ($args)
 enrollSync ($args)
 enrollSyncSelect ($args)
 mergeUsers ($args)
 people ($args)
 PeopleHandler ()
 removeUser ($args)
 suggestUsername ()
 unEnroll ($args)
 updateUser ()
 userProfile ($args)

Detailed Description

Handle requests for people management functions.

Definition at line 19 of file PeopleHandler.inc.php.


Member Function Documentation

PeopleHandler.createUser (  ) 

Display form to create a new user.

Definition at line 382 of file PeopleHandler.inc.php.

References editUser().

PeopleHandler.disableUser ( args  ) 

Disable a user's account.

Parameters:
$args array the ID of the user to disable

Definition at line 561 of file PeopleHandler.inc.php.

References Validation.canAdminister(), Request.getConference(), Request.redirect(), ManagerHandler.setupTemplate(), and Request.url().

PeopleHandler.editUser ( args = array()  ) 

Display form to create/edit a user profile.

Parameters:
$args array optional, if set the first parameter is the ID of the user to edit

Definition at line 390 of file PeopleHandler.inc.php.

References Validation.canAdminister(), Request.getConference(), ManagerHandler.setupTemplate(), and Request.url().

Referenced by createUser().

PeopleHandler.enableUser ( args  ) 

Enable a user's account.

Parameters:
$args array the ID of the user to enable

Definition at line 596 of file PeopleHandler.inc.php.

References Request.redirect(), and ManagerHandler.setupTemplate().

PeopleHandler.enroll ( args  ) 
PeopleHandler.enrollSearch ( args  ) 

Search for users to enroll in a specific role.

Parameters:
$args array first parameter is the selected role ID

Definition at line 153 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), and ManagerHandler.setupTemplate().

PeopleHandler.enrollSync ( args  ) 

Synchronize user enrollment with another conference.

Definition at line 338 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), and Request.redirect().

PeopleHandler.enrollSyncSelect ( args  ) 

Show form to synchronize user enrollment with another conference.

Definition at line 305 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), Request.redirect(), and ManagerHandler.setupTemplate().

PeopleHandler.mergeUsers ( args  ) 

Allow the Conference Manager to merge user accounts, including attributed papers etc.

Definition at line 431 of file PeopleHandler.inc.php.

References Validation.canAdminister(), Request.getConference(), Request.getSchedConf(), Request.redirect(), ManagerHandler.setupTemplate(), and Request.url().

PeopleHandler.people ( args  ) 

Display list of people in the selected role.

Parameters:
$args array first parameter is the role ID to display

Definition at line 31 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), Request.redirect(), ManagerHandler.setupTemplate(), and Request.url().

PeopleHandler.PeopleHandler (  ) 

Constructor

Definition at line 23 of file PeopleHandler.inc.php.

References ManagerHandler.ManagerHandler().

PeopleHandler.removeUser ( args  ) 

Remove a user from all roles for the current conference.

Parameters:
$args array the ID of the user to remove

Definition at line 619 of file PeopleHandler.inc.php.

References Request.getConference(), Request.redirect(), and ManagerHandler.setupTemplate().

PeopleHandler.suggestUsername (  ) 

Get a suggested username, making sure it's not already used by the system. (Poor-man's AJAX.)

Definition at line 370 of file PeopleHandler.inc.php.

PeopleHandler.unEnroll ( args  ) 

Unenroll a user from a role.

Definition at line 285 of file PeopleHandler.inc.php.

References Request.getConference(), Validation.isConferenceManager(), Validation.isSiteAdmin(), and Request.redirect().

PeopleHandler.updateUser (  ) 
PeopleHandler.userProfile ( args  ) 

Display a user's profile.

Parameters:
$args array first parameter is the ID or username of the user to display

Definition at line 694 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), ManagerHandler.setupTemplate(), and Request.url().


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