PHP 클래스 SampleCustomFieldType

상속: extends AdminPageFramework_FieldType
파일 보기 프로젝트 열기: 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.

보호된 메소드들

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