PHP 클래스 WPDKUIControlButton

$item = array( 'type' => WPDKUIControlType::BUTTON, 'id' => 'id', 'name' => 'name', 'value' => 'Button Text', 'attrs' => '', 'data' => '', 'class' => '', 'style' => '', 'title' => 'This title is a tooltip', 'prepend' => '', 'append' => '', 'toggle' => array( 'true', 'alternate_label' ), );
저자: =undo= ([email protected])
상속: extends WPDKUIControl
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 메소드들

메소드 설명
__construct ( array $item ) : WPDKUIControlButton Create an instance of WPDKUIControlButton class
draw ( ) Drawing control
init ( array $item ) : WPDKUIControlButton Return a singleton instance of WPDKUIControlButton class

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKUIControlButton class
부터: 1.0.0.b3
public __construct ( array $item ) : WPDKUIControlButton
$item array Key value pairs with control info
리턴 WPDKUIControlButton

draw() 공개 메소드

Drawing control
public draw ( )

init() 공개 정적인 메소드

Return a singleton instance of WPDKUIControlButton class
public static init ( array $item ) : WPDKUIControlButton
$item array Key value pairs with control info
리턴 WPDKUIControlButton