PHP Класс Habari\AdminThemesHandler

Наследование: extends AdminHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
ajax_add_block ( mixed $handler_vars ) Called from the themes page to create a new block instace
ajax_delete_block ( mixed $handler_vars ) Called from the themes page to delete a block instance
ajax_save_areas ( mixed $handler_vars ) Called from the themes page to save the blocks instances into areas
get_activate_theme ( ) Activates a theme.
get_areas ( $scope )
get_configure_block ( ) Get the block configuration form to show in a modal iframe on the themes page
get_preview_theme ( ) Configures a theme to be active for the current user's session.
get_themes ( ) Handles GET requests for the theme listing
post_configure_block ( ) A POST handler for the block configuration form
post_themes ( ) A POST handler for the admin themes page that simply passes those options through.
prepare_block_list ( ) Load the block types and block instances into the appropriate structures for the theme to output

Описание методов

ajax_add_block() публичный Метод

Called from the themes page to create a new block instace
public ajax_add_block ( mixed $handler_vars )
$handler_vars mixed

ajax_delete_block() публичный Метод

Called from the themes page to delete a block instance
public ajax_delete_block ( mixed $handler_vars )
$handler_vars mixed

ajax_save_areas() публичный Метод

Called from the themes page to save the blocks instances into areas
public ajax_save_areas ( mixed $handler_vars )
$handler_vars mixed

get_activate_theme() публичный Метод

Activates a theme.
public get_activate_theme ( )

get_areas() публичный Метод

public get_areas ( $scope )

get_configure_block() публичный Метод

Get the block configuration form to show in a modal iframe on the themes page
public get_configure_block ( )

get_preview_theme() публичный Метод

Configures a theme to be active for the current user's session.
public get_preview_theme ( )

get_themes() публичный Метод

Handles GET requests for the theme listing
public get_themes ( )

post_configure_block() публичный Метод

A POST handler for the block configuration form
См. также: AdminHandler::get_configure_block

post_themes() публичный Метод

A POST handler for the admin themes page that simply passes those options through.
public post_themes ( )

prepare_block_list() публичный Метод

Load the block types and block instances into the appropriate structures for the theme to output
public prepare_block_list ( )