PHP Class Themosis\Field\Fields\EditorField

Inheritance: extends FieldBuilder, implements Themosis\Field\Fields\IField
显示文件 Open project: themosis/framework

Public Methods

Method Description
__construct ( array $properties, Illuminate\View\Factory $view ) Build an EditorField 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 input where the value is saved.
setSettings ( ) Set default settings for the WordPress editor.

Method Details

__construct() public method

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

fieldType() protected method

Define input where the value is saved.
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

setSettings() protected method

Set default settings for the WordPress editor.
protected setSettings ( )

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