PHP Class Craft\RetourFieldType

Inheritance: extends craft\BaseFieldType
Afficher le fichier Open project: nystudio107/retour

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
defineSettings ( ) : none Define our FieldType's settings

Method Details

defineContentAttribute() public méthode

Returns the content attribute config.
public defineContentAttribute ( ) : mixed
Résultat mixed

defineSettings() protected méthode

Define our FieldType's settings
protected defineSettings ( ) : none
Résultat none

getInputHtml() public méthode

Returns the field's input HTML.
public getInputHtml ( string $name, mixed $value ) : string
$name string
$value mixed
Résultat string

getName() public méthode

Returns the name of the fieldtype.
public getName ( ) : mixed
Résultat mixed

getSettingsHtml() public méthode

Render the field settings
public getSettingsHtml ( ) : none
Résultat none

onAfterElementSave() public méthode

public onAfterElementSave ( ) : null
Résultat null

prepValue() public méthode

Prepares the field's value for use.
public prepValue ( mixed $value ) : mixed
$value mixed
Résultat mixed

prepValueFromPost() public méthode

Returns the input value as it should be saved to the database.
public prepValueFromPost ( mixed $value ) : mixed
$value mixed
Résultat mixed