PHP Class PostTypeTaxonomyCustomFieldType

Since: 3.8.8
Inheritance: extends AdminPageFramework_FieldType_taxonomy
Show file Open project: michaeluno/admin-page-framework

Public Properties

Property Type Description
$aFieldTypeSlugs Defines the field type slugs used for this field type.

Protected Properties

Property Type Description
$aDefaultKeys Defines the default key-values of this field type settings.
$aDefaultRemovingPostTypeSlugs

Public Methods

Method Description
getField ( $aField ) Returns the output of the field type.

Protected Methods

Method Description
getEnqueuingScripts ( ) : array Returns an array holding the urls of enqueuing scripts.
getEnqueuingStyles ( ) : array
getScripts ( ) Returns the field type specific JavaScript script.
getStyles ( ) Returns the field type specific CSS rules.

Private Methods

Method Description
_getPostTypeArrayForChecklist ( $asQueryArgs = [], $sOperator = 'and', $aSlugsToRemove ) : array A helper function for the above getPosttypeChecklistField method.
_getPostTypeFieldArguments ( $aField ) : array
_getTaxonomyFieldArguments ( $aField ) : array
_getTaxonomySlugs ( $aField ) : array

Method Details

getEnqueuingScripts() protected method

Returns an array holding the urls of enqueuing scripts.
protected getEnqueuingScripts ( ) : array
return array

getEnqueuingStyles() protected method

protected getEnqueuingStyles ( ) : array
return array

getField() public method

Returns the output of the field type.
public getField ( $aField )

getScripts() protected method

Returns the field type specific JavaScript script.
protected getScripts ( )

getStyles() protected method

Returns the field type specific CSS rules.
protected getStyles ( )

Property Details

$aDefaultKeys protected property

Defines the default key-values of this field type settings.
See also: http://codex.wordpress.org/Function_Reference/get_post_types#Parameters
protected $aDefaultKeys

$aDefaultRemovingPostTypeSlugs protected property

protected $aDefaultRemovingPostTypeSlugs

$aFieldTypeSlugs public property

Defines the field type slugs used for this field type.
public $aFieldTypeSlugs