PHP Class WPDKUIControlURL

$item = array( 'type' => WPDKUIControlType::URL, 'label' => 'Left label', 'id' => 'id', 'name' => 'name', 'beforelabel' => '', 'afterlabel' => ':', 'value' => 'Button Text', 'attrs' => array(), 'data' => array(), 'class' => array(), 'style' => '', 'title' => 'This title is a tooltip', 'prepend' => '', 'append' => '', );
Author: =undo= ([email protected])
Inheritance: extends WPDKUIControl
显示文件 Open project: wpxtreme/wpdk

Public Methods

Method Description
__construct ( array $item ) : WPDKUIControlURL Create an instance of WPDKUIControlURL class
draw ( ) Drawing control

Method Details

__construct() public method

Create an instance of WPDKUIControlURL class
Since: 1.7.2
public __construct ( array $item ) : WPDKUIControlURL
$item array Key value pairs with control info
return WPDKUIControlURL

draw() public method

Drawing control
public draw ( )