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' => '',
);
Afficher le fichier
Open project: wpxtreme/wpdk
Méthodes publiques
Méthode |
Description |
|
__construct ( array $item ) : WPDKUIControlURL |
Create an instance of WPDKUIControlURL class |
|
draw ( ) |
Drawing control |
|
Method Details
__construct()
public méthode
Create an instance of WPDKUIControlURL class
public __construct ( array $item ) : WPDKUIControlURL |
$item |
array |
Key value pairs with control info |
Résultat |
WPDKUIControlURL |
|