PHP 클래스 WPDKUIControlSwitch

$item = array( 'type' => WPDKUIControlType::SWITCH_, 'label' => 'label', 'label_right' => 'label', 'id' => 'id', 'name' => 'name', 'appearance' => '', // 'raund' 'value' => 'off', // 'on', 'off', true, false, 0, 1 'attrs' => '', 'data' => '', 'class' => '', 'style' => '', 'title' => 'This title is a tooltip', 'prepend' => '', 'append' => '', 'popover' => instance of WPDKUIPopover );
부터: 1.9.0
저자: =undo= ([email protected])
상속: extends WPDKUIControl
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 메소드들

메소드 설명
__construct ( array $item ) : WPDKUIControlSwitch Create an instance of WPDKUIControlSwipe class
draw ( ) Drawing control
init ( array $item ) : WPDKUIControlSwitch Useful static method to instance class.

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKUIControlSwipe class
public __construct ( array $item ) : WPDKUIControlSwitch
$item array Key value pairs with control info
리턴 WPDKUIControlSwitch

draw() 공개 메소드

Drawing control
public draw ( )

init() 공개 정적인 메소드

Useful static method to instance class.
부터: 1.11.0
public static init ( array $item ) : WPDKUIControlSwitch
$item array Key value pairs with control info
리턴 WPDKUIControlSwitch