Свойство | Тип | Описание | |
---|---|---|---|
$aFieldTypeSlugs | Defines the field type slugs used for this field type. |
Свойство | Тип | Описание | |
---|---|---|---|
$aDefaultKeys | Defines the default key-values of this field type settings. |
Метод | Описание | |
---|---|---|
getField ( $aField ) | Returns the output of the field type. | |
setUp ( ) | Loads the field type necessary components. |
Метод | Описание | |
---|---|---|
construct ( ) | ||
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. |
Метод | Описание | |
---|---|---|
_getToggleElement ( $aField ) : string | Returns the HTML output of the toggle element. | |
_getTogglesOptionsFormatted ( $aOptions, $aField ) : array | These can be set with the data attributes. |
protected getEnqueuingScripts ( ) : array | ||
Результат | array |
protected getScripts ( ) |
protected $aDefaultKeys |