PHP Class WPDKUIControlFileMedia

$item = array( 'type' => WPDKUIControlType::FILE_MEDIA, 'label' => 'Select Media', 'id' => 'id', 'name' => 'name', 'beforelabel' => '', 'afterlabel' => ':', 'value' => 'http://domain.com/sample.jpg', 'attrs' => array(), 'data' => array(), 'class' => array(), 'style' => '', 'title' => 'This title is a tooltip', 'prepend' => '', 'append' => '', 'media_title' => 'Select Media', 'media_button' => 'Select', 'button_select' => 'Select', 'button_change' => 'Change', 'button_remove' => 'Remove', );
Author: =undo= ([email protected])
Inheritance: extends WPDKUIControl
Mostrar archivo Open project: wpxtreme/wpdk

Public Methods

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

Method Details

__construct() public method

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

draw() public method

Drawing control
public draw ( )