article
extends editMass
in
Article permissions object
Table of Contents
$add | Add articles | bool |
---|---|---|
$archive | To archive processing | bool |
$approve | Approval of articles | bool |
$revisions | Revision management | bool |
$authors | Edit author | bool |
$edit | Edit own comments | bool |
$editall | Edit all comments | bool |
$delete | Delete processing | bool |
$massedit | Mass edit processing | bool |
getDefault() | Get default permission values | array |
__construct() | Constructor | mixed |
jsonSerialize() | Prepares JSON encode values | array |
getObjectVars() | Retruns values from object | array |
getDefault() | Returns an array for a default permission set | array |
getAllFalse() | Returns an array for an empty permission set | array |
Properties
$add
Add articles
public
bool
$add
$archive
To archive processing
public
bool
$archive
$approve
Approval of articles
public
bool
$approve
$revisions
Revision management
public
bool
$revisions
$authors
Edit author
public
bool
$authors
$edit
Edit own comments
public
bool
$edit
$editall
Edit all comments
public
bool
$editall
$delete
Delete processing
public
bool
$delete
$massedit
Mass edit processing
public
bool
$massedit
Methods
getDefault()
Get default permission values
public
final getDefault(
)
: array
Tags
Return values
array__construct()
Constructor
public
__construct(
$values :
mixed
)
: mixed
Parameters
- $values : mixed
Return values
mixedjsonSerialize()
Prepares JSON encode values
public
jsonSerialize(
)
: array
Tags
Return values
arraygetObjectVars()
Retruns values from object
protected
final getObjectVars(
)
: array
Return values
arraygetDefault()
Returns an array for a default permission set
public
getDefault(
)
: array
Return values
arraygetAllFalse()
Returns an array for an empty permission set
public
final getAllFalse(
)
: array