CounterHandler Class Reference
[Plugins_generic_counter]

Counter statistics request handler. More...

Inheritance diagram for CounterHandler:

Handler

List of all members.

Public Member Functions

 index ()
 setupTemplate ($subclass=false)
 validate ($canRedirect=true)


Detailed Description

Counter statistics request handler.

Definition at line 18 of file CounterHandler.inc.php.


Member Function Documentation

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.

Parameters:
$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.

Parameters:
$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().


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

Generated on Mon Jul 14 10:55:41 2008 for Open Journal Systems by  doxygen 1.5.6