PHP 클래스 WPDKScreenHelp

## Overview Usually you have to subclass this class
저자: =undo= ([email protected])
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 프로퍼티들

프로퍼티 타입 설명
$currentScreen WP_Screen The WordPres current screen

공개 메소드들

메소드 설명
__construct ( ) : WPDKScreenHelp Create an instance of WPDKScreenHelp class
addTab ( string $title, $callable_content ) Add a help tab to current screen
display ( ) Used this method to add tab and sidebar to the screen
sidebar ( ) : string Return the HTML markup for sidebar
tabs ( array $tabs = [] ) : array Return a key value pairs array with the list of tabs

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKScreenHelp class
public __construct ( ) : WPDKScreenHelp
리턴 WPDKScreenHelp

addTab() 공개 메소드

Add a help tab to current screen
public addTab ( string $title, $callable_content )
$title string Tab title. The title is sanitize and used as id

display() 공개 메소드

Used this method to add tab and sidebar to the screen
public display ( )

sidebar() 공개 메소드

Return the HTML markup for sidebar
public sidebar ( ) : string
리턴 string

tabs() 공개 메소드

Return a key value pairs array with the list of tabs
부터: 1.4.18
public tabs ( array $tabs = [] ) : array
$tabs array List of tabs
리턴 array

프로퍼티 상세

$currentScreen 공개적으로 프로퍼티

The WordPres current screen
public WP_Screen $currentScreen
리턴 WP_Screen