
Public Member Functions | |
| index () | |
| setupTemplate ($subclass=false) | |
| validate ($canRedirect=true) | |
Definition at line 18 of file CounterHandler.inc.php.
| CounterHandler.index | ( | ) |
Display the main log analyzer page.
Reimplemented from Handler.
Definition at line 22 of file CounterHandler.inc.php.
References DAORegistry.getDAO(), TemplateManager.getManager(), setupTemplate(), and validate().
| CounterHandler.setupTemplate | ( | $ | subclass = false |
) |
Set up common template variables.
| $subclass | boolean set to true if caller is below this handler in the heirarchy |
Definition at line 209 of file CounterHandler.inc.php.
References TemplateManager.getManager(), and Request.url().
Referenced by index().
| CounterHandler.validate | ( | $ | canRedirect = true |
) |
Validate that user has site admin privileges or journal manager priveleges. Redirects to the user index page if not properly authenticated.
| $canRedirect | boolean Whether or not to redirect if the user cannot be validated; if not, the script simply terminates. |
Reimplemented from Handler.
Definition at line 193 of file CounterHandler.inc.php.
References Registry.get(), Request.getJournal(), Validation.isSiteAdmin(), and Validation.redirectLogin().
Referenced by index().
1.5.6