article
extends editMass
in package
Article permissions object
Tags
Table of Contents
- $add : bool
- Add articles
- $approve : bool
- Approval of articles
- $archive : bool
- To archive processing
- $authors : bool
- Edit author
- $delete : bool
- Delete processing
- $edit : bool
- Edit own comments
- $editall : bool
- Edit all comments
- $massedit : bool
- Mass edit processing
- $revisions : bool
- Revision management
- __construct() : mixed
- Constructor
- getAllFalse() : array<string|int, mixed>
- Returns an array for an empty permission set
- getDefault() : array<string|int, mixed>
- Get default permission values
- jsonSerialize() : array<string|int, mixed>
- Prepares JSON encode values
- getObjectVars() : array<string|int, mixed>
- Retruns values from object
Properties
$add
Add articles
public
bool
$add
$approve
Approval of articles
public
bool
$approve
$archive
To archive processing
public
bool
$archive
$authors
Edit author
public
bool
$authors
$delete
Delete processing
public
bool
$delete
$edit
Edit own comments
public
bool
$edit
$editall
Edit all comments
public
bool
$editall
$massedit
Mass edit processing
public
bool
$massedit
$revisions
Revision management
public
bool
$revisions
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()
Get default permission values
public
final getDefault() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —jsonSerialize()
Prepares JSON encode values
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getObjectVars()
Retruns values from object
protected
final getObjectVars() : array<string|int, mixed>