PHP Class Craft\QuickFieldController

Inheritance: extends craft\BaseElementsController
Afficher le fichier Open project: benjamminf/craft-quick-field

Méthodes publiques

Méthode Description
actionDeleteField ( ) Deletes a field from the database.
actionEditField ( ) Edits an existing field.
actionGetFieldSettings ( ) Gets the HTML, CSS and Javascript of a field setting page.
actionSaveField ( ) Saves a new field to the database.

Private Methods

Méthode Description
_getTemplate ( craft\FieldModel $field = null ) : array Loads the field settings template and returns all HTML, CSS and Javascript.

Method Details

actionDeleteField() public méthode

Deletes a field from the database.
public actionDeleteField ( )

actionEditField() public méthode

Edits an existing field.
public actionEditField ( )

actionGetFieldSettings() public méthode

Gets the HTML, CSS and Javascript of a field setting page.

actionSaveField() public méthode

Saves a new field to the database.
public actionSaveField ( )