PHP 클래스 Craft\RetourFieldType

상속: extends craft\BaseFieldType
파일 보기 프로젝트 열기: nystudio107/retour

공개 메소드들

메소드 설명
defineContentAttribute ( ) : mixed Returns the content attribute config.
getInputHtml ( string $name, mixed $value ) : string Returns the field's input HTML.
getName ( ) : mixed Returns the name of the fieldtype.
getSettingsHtml ( ) : none Render the field settings
onAfterElementSave ( ) : null
prepValue ( mixed $value ) : mixed Prepares the field's value for use.
prepValueFromPost ( mixed $value ) : mixed Returns the input value as it should be saved to the database.

보호된 메소드들

메소드 설명
defineSettings ( ) : none Define our FieldType's settings

메소드 상세

defineContentAttribute() 공개 메소드

Returns the content attribute config.
public defineContentAttribute ( ) : mixed
리턴 mixed

defineSettings() 보호된 메소드

Define our FieldType's settings
protected defineSettings ( ) : none
리턴 none

getInputHtml() 공개 메소드

Returns the field's input HTML.
public getInputHtml ( string $name, mixed $value ) : string
$name string
$value mixed
리턴 string

getName() 공개 메소드

Returns the name of the fieldtype.
public getName ( ) : mixed
리턴 mixed

getSettingsHtml() 공개 메소드

Render the field settings
public getSettingsHtml ( ) : none
리턴 none

onAfterElementSave() 공개 메소드

public onAfterElementSave ( ) : null
리턴 null

prepValue() 공개 메소드

Prepares the field's value for use.
public prepValue ( mixed $value ) : mixed
$value mixed
리턴 mixed

prepValueFromPost() 공개 메소드

Returns the input value as it should be saved to the database.
public prepValueFromPost ( mixed $value ) : mixed
$value mixed
리턴 mixed