PHP Class Themosis\Field\Fields\MediaField

Inheritance: extends FieldBuilder, implements Themosis\Field\Fields\IField
Show file Open project: themosis/framework

Public Methods

Method Description
__construct ( array $properties, Illuminate\View\Factory $view ) Build a MediaField instance.
metabox ( ) : string Method that handle the field HTML code for metabox output.
page ( ) : string Handle the field HTML code for the Settings API output.
taxonomy ( ) : string Handle the HTML code for taxonomy output.
user ( ) : string Handle the HTML code for user output.

Protected Methods

Method Description
fieldType ( ) Define the input type that handle the data.

Method Details

__construct() public method

Build a MediaField instance.
public __construct ( array $properties, Illuminate\View\Factory $view )
$properties array
$view Illuminate\View\Factory

fieldType() protected method

Define the input type that handle the data.
protected fieldType ( )

metabox() public method

Method that handle the field HTML code for metabox output.
public metabox ( ) : string
return string

page() public method

Handle the field HTML code for the Settings API output.
public page ( ) : string
return string

taxonomy() public method

Handle the HTML code for taxonomy output.
public taxonomy ( ) : string
return string

user() public method

Handle the HTML code for user output.
public user ( ) : string
return string