PHP 클래스 Mlp_Network_Site_Settings

저자: Inpsyde GmbH, toscho
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__construct ( Mlp_Network_Site_Settings_Properties $config, Mlp_Updatable $watcher ) Constructor.
reorder_output ( string $content ) : string Changes the page content, adds navigation tab.
start_buffer ( ) : void Starts output buffering and call "render_callback".

비공개 메소드들

메소드 설명
get_heading_level ( ) : string Returns the heading level wrt. the current WordPress version.
get_nav_link ( ) : string Creates the HTML for the navigation link.
is_active_page ( ) : boolean Checks if the global pagenow matches the tab identifier.
set_pagenow ( ) : void Changes the global pagenow to prevent wrong classes on the tab navigation.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Mlp_Network_Site_Settings_Properties $config, Mlp_Updatable $watcher )
$config Mlp_Network_Site_Settings_Properties
$watcher Mlp_Updatable

reorder_output() 공개 메소드

Changes the page content, adds navigation tab.
public reorder_output ( string $content ) : string
$content string Complete content of the page 'wp-admin/network/site-settings.php'.
리턴 string

start_buffer() 공개 메소드

Starts output buffering and call "render_callback".
public start_buffer ( ) : void
리턴 void