Inheritance diagram for UserHandler:

Public Member Functions | |
| become ($args) | |
| checkIncompleteSetup ($conference) | |
| getRoleDataForConference ($userId, $conferenceId, $schedConfId, &$submissionsCount, &$isValid) | |
| index () | |
| setLocale ($args) | |
| setupTemplate ($subclass=false) | |
| UserHandler () | |
| validate ($loginCheck=true) | |
| viewCaptcha ($args) | |
Definition at line 21 of file UserHandler.inc.php.
| UserHandler.become | ( | $ | args | ) |
Become a given role.
Definition at line 230 of file UserHandler.inc.php.
References Request.getSchedConf(), index(), Request.redirect(), and validate().
| UserHandler.checkIncompleteSetup | ( | $ | conference | ) |
Determine if the conference's setup has been sufficiently completed.
| $conference | Object |
Definition at line 186 of file UserHandler.inc.php.
Referenced by index().
| UserHandler.getRoleDataForConference | ( | $ | userId, | |
| $ | conferenceId, | |||
| $ | schedConfId, | |||
| &$ | submissionsCount, | |||
| &$ | isValid | |||
| ) |
Gather information about a user's role within a conference.
| $userId | int | |
| $conferenceId | int | |
| $submissionsCount | array reference | |
| $isValid | array reference |
Definition at line 154 of file UserHandler.inc.php.
References Validation.isAuthor(), Validation.isConferenceManager(), Validation.isDirector(), Validation.isReviewer(), and Validation.isTrackDirector().
Referenced by index().
| UserHandler.index | ( | ) |
Display user index page.
Definition at line 32 of file UserHandler.inc.php.
References SchedConfAction.allowRegAuthor(), SchedConfAction.allowRegReviewer(), checkIncompleteSetup(), Request.getConference(), getRoleDataForConference(), Request.getSchedConf(), setupTemplate(), SchedConfAction.submissionsOpen(), and validate().
Referenced by CreateAccountHandler.account(), become(), CreateAccountHandler.createAccount(), setLocale(), and setupTemplate().
| UserHandler.setLocale | ( | $ | args | ) |
Change the locale for the current user.
| $args | array first parameter is the new locale |
Definition at line 198 of file UserHandler.inc.php.
References Request.getConference(), index(), and Request.redirect().
| UserHandler.setupTemplate | ( | $ | subclass = false |
) |
Setup common template variables.
| $subclass | boolean set to true if caller is below this handler in the hierarchy |
Definition at line 293 of file UserHandler.inc.php.
References Request.getConference(), Request.getSchedConf(), index(), and Request.url().
Referenced by CreateAccountHandler.account(), ProfileHandler.changePassword(), CreateAccountHandler.createAccount(), CreateAccountHandler.createAccountDisabled(), index(), ProfileHandler.profile(), ProfileHandler.savePassword(), and ProfileHandler.saveProfile().
| UserHandler.UserHandler | ( | ) |
Constructor
Definition at line 25 of file UserHandler.inc.php.
| UserHandler.validate | ( | $ | loginCheck = true |
) |
Validate that user is logged in. Redirects to login form if not logged in.
| $loginCheck | boolean check if user is logged in |
Definition at line 279 of file UserHandler.inc.php.
References Validation.isLoggedIn(), and Validation.redirectLogin().
Referenced by become(), ProfileHandler.changePassword(), index(), ProfileHandler.profile(), ProfileHandler.savePassword(), and ProfileHandler.saveProfile().
1.4.7