PHP Класс SampleCustomFieldType

Наследование: extends AdminPageFramework_FieldType
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$aFieldTypeSlugs Defines the field type slugs used for this field type.

Защищенные свойства (Protected)

Свойство Тип Описание
$aDefaultKeys Defines the default key-values of this field type.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
_getHiddenContents ( array $aField ) : string Returns a generated hidden HTML output which appears when a redio button is selected.
getRevealerScript ( $sFieldContainerID, $sDefaultSelectionID ) : string

Описание методов

getEnqueuingScripts() защищенный Метод

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

getEnqueuingStyles() защищенный Метод

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

getField() защищенный Метод

Returns the output of the field type.
protected getField ( $aField ) : string
Результат string The field output.

getIEStyles() защищенный Метод

Returns IE specific CSS rules.
protected getIEStyles ( )

getScripts() защищенный Метод

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

getStyles() защищенный Метод

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

setUp() защищенный Метод

Loads the field type necessary components.
protected setUp ( )

Описание свойств

$aDefaultKeys защищенное свойство

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

$aFieldTypeSlugs публичное свойство

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