\SiteDesigner
Class SiteDesigner
Synopsis
class SiteDesigner
extends DataObject
implements
TemplateGlobalProvider
{
- // members
- private static array $db = ;
- private static array $required_permission = ;
- // methods
- public FieldList getCMSFields()
- public Fieldset getCMSActions()
- public String CMSEditLink()
- public static DataObject|SiteConfig current_site_designer()
- public void requireDefaultRecords()
- public static SiteConfig make_site_designer()
- public bool canView()
- public bool canEdit()
- public static void get_template_global_variables()
Hierarchy
Extends
- DataObject
Implements
- TemplateGlobalProvider
Members
private
- $db — array
- $required_permission
—
array
Default permission to check for 'LoggedInUsers' to create or edit pages
Methods
public
- CMSEditLink()
- canEdit()
- canView()
- current_site_designer()
- getCMSActions() — Get the actions that are sent to the CMS. In your extensions: updateEditFormActions($actions)
- getCMSFields() — Get the fields that are sent to the CMS. In your extensions: updateCMSFields($fields)
- get_template_global_variables() — Add $SiteDesigner to all SSViewers
- make_site_designer() — Create Designer with defaults from language file.
- requireDefaultRecords() — Setup a default SiteDesigner record if none exists