\CloudflareSiteConfigExtension
This Extension can be applied to the SiteConfig to specify the CLoudflare settings. You may also specifiy the Cloudflare settings via a YML file as config element on the CloudflarePurge class.
The following properties can be defined: CloudflareEmail, CloudflareAuthKey, CloudflareZoneIdentifier,
CloudflarePaths.
The YML file config has precedence over the site config. When a value is speciifed via YML, it will be displayed as a
readonly value in the site config.
Synopsis
class CloudflareSiteConfigExtension
extends DataExtension
{
- // members
- private static [type] $db = ;
- // methods
- public FieldList updateCMSFields()
Hierarchy
Extends
- DataExtension
Members
private
- $db
—
[type]
New DB field for the Cloudflare field.
Methods
public
- updateCMSFields() — Update the CMS Fields with our Custom CLoudflare fields.