ZenphotoCMS 1.6.3

securityheadersOptions

Options handler for http_security_headers plugin

Table of Contents

Methods

__construct()  : mixed
getContentSecurityPolicyFetchSources()  : type
Checkbox options for CSP fetch directive except for - frame-ancestors - plugin-types - sandbox
getContentSecurityPolicyFrameAncestorsSources()  : array<string|int, mixed>
Returns the array for the options list for CSP frame-ancestors header
getCOntentSecurityPolicyHostSourceDoc()  : mixed
getContentSecurityPolicySandboxSources()  : array<string|int, mixed>
Returns the array for the checkbox option list for the CSP Sandbox header
getContentSecuritytPolicyPluginTypes()  : array<string|int, mixed>
Gets the formatted mimetype list for the CSP plugin-types directive
getOptionsSupported()  : mixed
getStandardDesc()  : string
Returns default text with basically just a link to detailed documentation.
getXframeSources()  : array<string|int, mixed>
Returns the array for the checkbox option list for X-Frame-Option header
handleOption()  : mixed
handleOptionSave()  : mixed

Methods

getContentSecurityPolicyFetchSources()

Checkbox options for CSP fetch directive except for - frame-ancestors - plugin-types - sandbox

public static getContentSecurityPolicyFetchSources([mixed $baseoption = '' ]) : type
Parameters
$baseoption : mixed = ''
Return values
type

getContentSecurityPolicyFrameAncestorsSources()

Returns the array for the options list for CSP frame-ancestors header

public static getContentSecurityPolicyFrameAncestorsSources() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCOntentSecurityPolicyHostSourceDoc()

public static getCOntentSecurityPolicyHostSourceDoc() : mixed

getContentSecurityPolicySandboxSources()

Returns the array for the checkbox option list for the CSP Sandbox header

public static getContentSecurityPolicySandboxSources() : array<string|int, mixed>
Return values
array<string|int, mixed>

getContentSecuritytPolicyPluginTypes()

Gets the formatted mimetype list for the CSP plugin-types directive

public static getContentSecuritytPolicyPluginTypes([mixed $suffix_as_key = false ]) : array<string|int, mixed>
Parameters
$suffix_as_key : mixed = false
Tags
global

array $mime_types

Return values
array<string|int, mixed>

getStandardDesc()

Returns default text with basically just a link to detailed documentation.

public static getStandardDesc(string $link[, bool $csptext = false ]) : string
Parameters
$link : string

Link to the full documentation

$csptext : bool = false

Show additional optional text for CSP directives

Return values
string

getXframeSources()

Returns the array for the checkbox option list for X-Frame-Option header

public static getXframeSources() : array<string|int, mixed>
Return values
array<string|int, mixed>

handleOption()

public handleOption(mixed $option, mixed $currentValue) : mixed
Parameters
$option : mixed
$currentValue : mixed

handleOptionSave()

public handleOptionSave(mixed $themename, mixed $themealbum) : mixed
Parameters
$themename : mixed
$themealbum : mixed

        
On this page

Search results