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' ),
);
파일 보기
프로젝트 열기: 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 |
|
메소드 상세
Create an instance of WPDKUIControlButton class
public __construct ( array $item ) : WPDKUIControlButton |
$item |
array |
Key value pairs with control info |
리턴 |
WPDKUIControlButton |
|
Return a singleton instance of WPDKUIControlButton class
public static init ( array $item ) : WPDKUIControlButton |
$item |
array |
Key value pairs with control info |
리턴 |
WPDKUIControlButton |
|