PHP Class Craft\QuickFieldController

Inheritance: extends craft\BaseElementsController
Mostrar archivo Open project: benjamminf/craft-quick-field

Public Methods

Method 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

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

Method Details

actionDeleteField() public method

Deletes a field from the database.
public actionDeleteField ( )

actionEditField() public method

Edits an existing field.
public actionEditField ( )

actionGetFieldSettings() public method

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

actionSaveField() public method

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