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
Показать файл Открыть проект

Открытые методы

Метод Описание
__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