VuFind API Documentation

InsecureCookie
in package
implements PermissionProviderInterface Uses LoggerAwareTrait

Insecure cookie permission provider for VuFind.

Tags
category

VuFind

author

Alex Buckley alexbuckley@catalyst.net.nz

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Page

Interfaces, Classes, Traits and Enums

PermissionProviderInterface
Permission provider interface

Table of Contents

$cookieManager  : CookieManager
__construct()  : mixed
Constructor
getPermissions()  : array<string|int, mixed>
Return an array of roles which may be granted the permission based on the options.
debug()  : void
Log a debug message.
log()  : void
Send a message to the logger.
logError()  : void
Log an error message.
logWarning()  : void
Log a warning message.

Properties

Methods

getPermissions()

Return an array of roles which may be granted the permission based on the options.

public getPermissions(mixed $options) : array<string|int, mixed>
Parameters
$options : mixed

Options (cookieNames) provided from configuration.

Return values
array<string|int, mixed>

debug()

Log a debug message.

protected debug(string $msg[, array<string|int, mixed> $context = [] ][, bool $prependClass = true ]) : void
Parameters
$msg : string

Log message

$context : array<string|int, mixed> = []

Log context

$prependClass : bool = true

Prepend class name to message?

Return values
void

log()

Send a message to the logger.

protected log(string $level, string $message[, array<string|int, mixed> $context = [] ][, bool $prependClass = false ]) : void
Parameters
$level : string

Log level

$message : string

Log message

$context : array<string|int, mixed> = []

Log context

$prependClass : bool = false

Prepend class name to message?

Return values
void

logError()

Log an error message.

protected logError(string $msg[, array<string|int, mixed> $context = [] ][, bool $prependClass = true ]) : void
Parameters
$msg : string

Log message

$context : array<string|int, mixed> = []

Log context

$prependClass : bool = true

Prepend class name to message?

Return values
void

logWarning()

Log a warning message.

protected logWarning(string $msg[, array<string|int, mixed> $context = [] ][, bool $prependClass = true ]) : void
Parameters
$msg : string

Log message

$context : array<string|int, mixed> = []

Log context

$prependClass : bool = true

Prepend class name to message?

Return values
void

Search results