PHP Class SampleCustomFieldType

Inheritance: extends AdminPageFramework_FieldType
Afficher le fichier Open project: michaeluno/admin-page-framework

Méthodes publiques

Свойство Type Description
$aFieldTypeSlugs Defines the field type slugs used for this field type.

Protected Properties

Свойство Type Description
$aDefaultKeys Defines the default key-values of this field type.

Méthodes protégées

Méthode Description
getEnqueuingScripts ( ) Returns an array holding the urls of enqueuing scripts.
getEnqueuingStyles ( ) Returns an array holding the urls of enqueuing styles.
getField ( $aField ) : string Returns the output of the field type.
getIEStyles ( ) Returns IE specific CSS rules.
getScripts ( ) Returns the field type specific JavaScript script.
getStyles ( ) Returns the field type specific CSS rules.
setUp ( ) Loads the field type necessary components.

Private Methods

Méthode Description
_getHiddenContents ( array $aField ) : string Returns a generated hidden HTML output which appears when a redio button is selected.
getRevealerScript ( $sFieldContainerID, $sDefaultSelectionID ) : string

Method Details

getEnqueuingScripts() protected méthode

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

getEnqueuingStyles() protected méthode

Returns an array holding the urls of enqueuing styles.
protected getEnqueuingStyles ( )

getField() protected méthode

Returns the output of the field type.
protected getField ( $aField ) : string
Résultat string The field output.

getIEStyles() protected méthode

Returns IE specific CSS rules.
protected getIEStyles ( )

getScripts() protected méthode

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

getStyles() protected méthode

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

setUp() protected méthode

Loads the field type necessary components.
protected setUp ( )

Property Details

$aDefaultKeys protected_oe property

Defines the default key-values of this field type.
protected $aDefaultKeys

$aFieldTypeSlugs public_oe property

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