PageExtension
extends DataExtension
in package
Class \Firesphere\CSPHeaders\Extensions\SiteTreeExtension
Table of Contents
Properties
- $owner : Page|PageExtension
- $db : mixed
- $defaults : mixed
- $many_many : mixed
Methods
- CSPDomains() : ManyManyList|array<string|int, CSPDomain>
- updateSettingsFields() : mixed
Properties
$owner
public
Page|PageExtension
$owner
$db
private
static mixed
$db
= ['AllowCSSInline' => \SilverStripe\ORM\FieldType\DBBoolean::class, 'AllowJSInline' => \SilverStripe\ORM\FieldType\DBBoolean::class]
$defaults
private
static mixed
$defaults
= ['AllowCSSInline' => false, 'AllowJSInline' => false]
$many_many
private
static mixed
$many_many
= ['CSPDomains' => \Firesphere\CSPHeaders\Models\CSPDomain::class]
Methods
CSPDomains()
public
CSPDomains() : ManyManyList|array<string|int, CSPDomain>
Return values
ManyManyList|array<string|int, CSPDomain>updateSettingsFields()
public
updateSettingsFields(FieldList $fields) : mixed
Parameters
- $fields : FieldList