PHP Class Themosis\Field\Fields\TextField

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 ) Define a core TextField.
metabox ( ) : string 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 field HTML code for the user fields output.

Protected Methods

Method Description
fieldType ( ) Method to override to define the input type that handles the value.

Method Details

__construct() public method

Define a core TextField.
public __construct ( array $properties, Illuminate\View\Factory $view )
$properties array The text field properties.
$view Illuminate\View\Factory

fieldType() protected method

Method to override to define the input type that handles the value.
protected fieldType ( )

metabox() public method

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 field HTML code for the user fields output.
public user ( ) : string
return string