SilverStripe CSP headers

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

$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

updateSettingsFields()

public updateSettingsFields(FieldList $fields) : mixed
Parameters
$fields : FieldList

        
On this page

Search results