Public Member Functions | Protected Member Functions

UserThemeHandler Class Reference

Inheritance diagram for UserThemeHandler:
Collaboration diagram for UserThemeHandler:

List of all members.

Public Member Functions

 __construct ()
 act ($action)

Protected Member Functions

 display ($template_name)

Detailed Description

Class for handling default user theme actions.

Any theme will be able to override these default actions by registering an override function with Theme->act_some_function()

Definition at line 14 of file userthemehandler.php.

Constructor & Destructor Documentation

UserThemeHandler::__construct (  ) 

Constructor for the default theme handler.

Definition at line 20 of file userthemehandler.php.

Member Function Documentation

UserThemeHandler::act ( action  ) 

The UserThemeHandler's act() method differs from ActionHandler's act() method in one distinct way: if the Handler's theme variable registers an override action via Theme->register_action(), then that function is called instead of the default handler action.

action the action that was in the URL rule
bool did the action succeed?

Reimplemented from ActionHandler.

Definition at line 34 of file userthemehandler.php.

UserThemeHandler::display ( template_name  )  [protected]

Helper function which automatically assigns all handler_vars into the theme and displays a theme template

template_name Name of template to display ( note: not the filename )

Definition at line 66 of file userthemehandler.php.

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