PHP 클래스 NoUISliderCustomFieldType

부터: 3.8.6
상속: extends AdminPageFramework_FieldType_text
파일 보기 프로젝트 열기: michaeluno/admin-page-framework

공개 프로퍼티들

프로퍼티 타입 설명
$aFieldTypeSlugs Defines the field type slugs used for this field type.

보호된 프로퍼티들

프로퍼티 타입 설명
$aDefaultKeys Defines the default key-values of this field type settings.

공개 메소드들

메소드 설명
getField ( $aField ) : string 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.

비공개 메소드들

메소드 설명
_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

메소드 상세

construct() 보호된 메소드

protected construct ( )

getEnqueuingScripts() 보호된 메소드

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

getEnqueuingStyles() 보호된 메소드

protected getEnqueuingStyles ( ) : array
리턴 array

getField() 공개 메소드

Returns the output of the field type.
public getField ( $aField ) : string
리턴 string

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.
public setUp ( )

프로퍼티 상세

$aDefaultKeys 보호되어 있는 프로퍼티

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

$aFieldTypeSlugs 공개적으로 프로퍼티

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