PHP Class WPDKUIControlText

$item = array( 'type' => WPDKUIControlType::TEXT, 'label' => 'Left label' | array(), 'id' => 'id', 'name' => 'name', 'value' => 'Inner text', 'placeholder' => 'Placeholder', 'attrs' => '', 'data' => '', 'class' => '', 'style' => '', 'title' => 'This title is a tooltip', 'prepend' => '', 'append' => '', 'guide' => 'slug-of-guide' ); ### guide The new key guide is used to open a Modal Dialog with an iframe on the Developer Center. You can display any Developer Center public guide, just by slug name page. The key guide can be an array too: 'guide' => array( 'Say hello to guide', 'how-to-update-your-bootstrap-php' ) Or 'guide' => array( 'uri' => 'how-to-update-your-bootstrap-php', 'tooltip' => 'This is a custom tooltip for this guide', 'title' => 'This is the custom modal title', 'button' => 'Need help?' )
Author: =undo= ([email protected])
Inheritance: extends WPDKUIControl
Show file Open project: wpxtreme/wpdk

Public Methods

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

Method Details

__construct() public method

Create an instance of WPDKUIControlText class
Since: 1.0.0.b3
public __construct ( array $item ) : WPDKUIControlText
$item array Key value pairs with control info
return WPDKUIControlText

draw() public method

Drawing control
public draw ( )