Property | Type | Description | |
---|---|---|---|
$aFieldTypeSlugs | Defines the field type slugs used for this field type. |
Property | Type | Description | |
---|---|---|---|
$aDefaultKeys | Defines the default key-values of this field type settings. |
Method | Description | |
---|---|---|
getField ( $aField ) : string | Returns the output of the field type. | |
setUp ( ) | Loads the field type necessary components. |
Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
_getAttributesFormatted ( $aField ) : array | Formats the attributes argument. | |
_getConnectArgumentFormatted ( $aOptions, $aField ) : array | null | Formats the connect argument to avoid errors on the JS script side. | |
_getHandlePositions ( $aOptions, $aField ) : array | Retrieves the value of the start argument which determines the position of the slider handle. | |
_getLabelsFormatted ( $aLabels, $aField ) : array | string | Formats the label argument. | |
_getNoUISliderOptionsFormatted ( $aOptions, $aField ) : array | ||
_getSliderElementClassSelectors ( $aField ) : string |
protected getEnqueuingScripts ( ) : array | ||
return | array |
protected getScripts ( ) |
protected $aDefaultKeys |