CodeIgniter v4.5 API

Plugins
in package

View plugins

Table of Contents

Methods

cspScriptNonce()  : string
Wrap csp_script_nonce() function to use as view plugin.
cspStyleNonce()  : string
Wrap csp_style_nonce() function to use as view plugin.
currentURL()  : string|URI
Wrap helper function to use as view plugin.
lang()  : string
Wrap helper function to use as view plugin.
mailto()  : string
Wrap helper function to use as view plugin.
previousURL()  : string|URI
Wrap helper function to use as view plugin.
route()  : false|string
Wrap helper function to use as view plugin.
safeMailto()  : string
Wrap helper function to use as view plugin.
siteURL()  : string
Wrap helper function to use as view plugin.
validationErrors()  : string
Wrap helper function to use as view plugin.

Methods

cspScriptNonce()

Wrap csp_script_nonce() function to use as view plugin.

public static cspScriptNonce() : string
Return values
string

cspStyleNonce()

Wrap csp_style_nonce() function to use as view plugin.

public static cspStyleNonce() : string
Return values
string

currentURL()

Wrap helper function to use as view plugin.

public static currentURL() : string|URI
Return values
string|URI

lang()

Wrap helper function to use as view plugin.

public static lang([array<int|string, string>|array<int, string> $params = [] ]) : string
Parameters
$params : array<int|string, string>|array<int, string> = []
Return values
string

mailto()

Wrap helper function to use as view plugin.

public static mailto([array{email?: string, title?: string, attributes?: array|object|string} $params = [] ]) : string
Parameters
$params : array{email?: string, title?: string, attributes?: array|object|string} = []
Return values
string

previousURL()

Wrap helper function to use as view plugin.

public static previousURL() : string|URI
Return values
string|URI

route()

Wrap helper function to use as view plugin.

public static route([array<int, string> $params = [] ]) : false|string
Parameters
$params : array<int, string> = []
Return values
false|string

safeMailto()

Wrap helper function to use as view plugin.

public static safeMailto([array{email?: string, title?: string, attributes?: array|object|string} $params = [] ]) : string
Parameters
$params : array{email?: string, title?: string, attributes?: array|object|string} = []
Return values
string

siteURL()

Wrap helper function to use as view plugin.

public static siteURL([array<int, string> $params = [] ]) : string
Parameters
$params : array<int, string> = []
Return values
string

validationErrors()

Wrap helper function to use as view plugin.

public static validationErrors([array{field?: string} $params = [] ]) : string
Parameters
$params : array{field?: string} = []
Return values
string

        
On this page

Search results