PHP 클래스 Habari\AdminThemesHandler

상속: extends AdminHandler
파일 보기 프로젝트 열기: habari/system

공개 메소드들

메소드 설명
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 ( )