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 ()
 post_configure_block ()
 ajax_add_block ($handler_vars)
 ajax_delete_block ($handler_vars)
 ajax_save_areas ($handler_vars)
 get_areas ($scope)
 prepare_block_list ()

Detailed Description

Habari AdminThemesHandler Class Handles theme-related actions in the admin

Definition at line 14 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 184 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 237 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 271 of file adminthemeshandler.php.

AdminThemesHandler::get_activate_theme (  ) 

Activates a theme.

Definition at line 91 of file adminthemeshandler.php.

AdminThemesHandler::get_preview_theme (  ) 

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

Definition at line 108 of file adminthemeshandler.php.

AdminThemesHandler::get_themes (  ) 

Handles GET requests for the theme listing

Definition at line 19 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 174 of file adminthemeshandler.php.

AdminThemesHandler::post_themes (  ) 

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

Definition at line 83 of file adminthemeshandler.php.

AdminThemesHandler::prepare_block_list (  ) 

Load the block types and block instances into the appropriate structures for the theme to output

Definition at line 359 of file adminthemeshandler.php.

Referenced by ajax_add_block(), ajax_delete_block(), and get_themes().


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