\ConfigurablePageFieldExtension
ConfigurablePageFieldExtension is an extension class that adds extra methods to the EditableField classes.
- Author: Mohamed Alsharaf <mohamed.alsharaf@gmail.com>
Synopsis
class ConfigurablePageFieldExtension
extends DataExtension
{
- // members
- private static array $belongs_many_many = ;
- // methods
- public object|false|string getViewValue()
- public null|string getValueAsString()
- public string getViewFieldName()
- public bool canEdit()
Hierarchy
Extends
- DataExtension
Members
private
- $belongs_many_many
Methods
public
- canEdit() — Editable field can only be changed if is not part of a group.
- getValueAsString() — Get string value of a field.
- getViewFieldName() — Format the field Title to be suitable as a variable in template.
- getViewValue() — Get field value that is suitable for the view template file.