Public Member Functions

AdminThemesHandler Class Reference

Inheritance diagram for AdminThemesHandler:
Collaboration diagram for AdminThemesHandler:

List of all members.

Public Member Functions

 get_themes ()
 post_themes ()
 get_activate_theme ()
 get_preview_theme ()
 get_configure_block ()
 action_configure_block_title ($value, $name, $storage)
 post_configure_block ()
 ajax_add_block ($handler_vars)
 ajax_delete_block ($handler_vars)
 ajax_save_areas ($handler_vars)

Detailed Description

Habari AdminThemesHandler Class Handles theme-related actions in the admin

Definition at line 12 of file adminthemeshandler.php.


Member Function Documentation

AdminThemesHandler::ajax_add_block ( handler_vars  ) 

Called from the themes page to create a new block instace

Parameters:
mixed $handler_vars

Definition at line 172 of file adminthemeshandler.php.

AdminThemesHandler::ajax_delete_block ( handler_vars  ) 

Called from the themes page to delete a block instance

Parameters:
mixed $handler_vars

Definition at line 225 of file adminthemeshandler.php.

AdminThemesHandler::ajax_save_areas ( handler_vars  ) 

Called from the themes page to save the blocks instances into areas

Parameters:
mixed $handler_vars
Returns:

Definition at line 258 of file adminthemeshandler.php.

AdminThemesHandler::get_activate_theme (  ) 

Activates a theme.

Definition at line 88 of file adminthemeshandler.php.

AdminThemesHandler::get_configure_block (  ) 

Get the block configuration form to show in a modal iframe on the themes page

Definition at line 123 of file adminthemeshandler.php.

Referenced by post_configure_block().

AdminThemesHandler::get_preview_theme (  ) 

Configures a theme to be active for the current user's session.

Definition at line 102 of file adminthemeshandler.php.

AdminThemesHandler::get_themes (  ) 

Handles GET requests for the theme listing

Definition at line 17 of file adminthemeshandler.php.

Referenced by post_themes().

AdminThemesHandler::post_configure_block (  ) 

A POST handler for the block configuration form

See also:
AdminHandler::get_configure_block
Returns:

Definition at line 162 of file adminthemeshandler.php.

AdminThemesHandler::post_themes (  ) 

A POST handler for the admin themes page that simply passes those options through.

Definition at line 80 of file adminthemeshandler.php.


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