PHP Class Themosis\Field\Fields\InfiniteField

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

Protected Properties

Property Type Description
$rows integer Number of registered rows.

Public Methods

Method Description
__construct ( array $properties, Illuminate\View\Factory $view ) Build an InfiniteField instance.
getRows ( ) : integer Return the numbers of rows to display.
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.
setRows ( ) : integer Set the number of rows to display.

Method Details

__construct() public method

Build an InfiniteField 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 ( )

getRows() public method

Return the numbers of rows to display.
public getRows ( ) : integer
return integer

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

setRows() protected method

Set the number of rows to display.
protected setRows ( ) : integer
return integer

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

Property Details

$rows protected_oe property

Number of registered rows.
protected int $rows
return integer