PHP Class Habari\UserThemeHandler

Inheritance: extends ActionHandler
Afficher le fichier Open project: habari/system

Méthodes publiques

Méthode Description
__construct ( ) Constructor for the default theme handler.
act ( $action ) : boolean 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.

Méthodes protégées

Méthode Description
display ( $template_name ) Helper function which automatically assigns all handler_vars into the theme and displays a theme template

Method Details

__construct() public méthode

Constructor for the default theme handler.
public __construct ( )

act() public méthode

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.
public act ( $action ) : boolean
Résultat boolean did the action succeed?

display() protected méthode

Helper function which automatically assigns all handler_vars into the theme and displays a theme template
protected display ( $template_name )