Documentation

base
in package
implements JsonSerializable

Base permissions object

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2011-2022, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

since
4.4

Interfaces, Classes, Traits and Enums

JsonSerializable

Table of Contents

__construct()  : mixed
Constructor
getAllFalse()  : array<string|int, mixed>
Returns an array for an empty permission set
getDefault()  : array<string|int, mixed>
Returns an array for a default permission set
jsonSerialize()  : array<string|int, mixed>
Prepares JSON encode values
getObjectVars()  : array<string|int, mixed>
Retruns values from object

Methods

__construct()

Constructor

public __construct(mixed $values) : mixed
Parameters
$values : mixed
Return values
mixed

getAllFalse()

Returns an array for an empty permission set

public final getAllFalse() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefault()

Returns an array for a default permission set

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

jsonSerialize()

Prepares JSON encode values

public jsonSerialize() : array<string|int, mixed>
Tags
see
JsonSerializable::jsonSerialize()
Return values
array<string|int, mixed>

getObjectVars()

Retruns values from object

protected final getObjectVars() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results