Permissions
in package
Table of Contents
Properties
- $create : mixed
- $delete : mixed
- $get : mixed
- $join : mixed
- $manage : mixed
- $name : mixed
- $read : mixed
- $update : mixed
- $write : mixed
Methods
- __construct() : mixed
- getName() : mixed
- getRights() : mixed
- Returns acces rights in integer form. The values for specific rights are: READ = 1; WRITE = 2; MANAGE = 4; DELETE = 8; CREATE = 16; GET = 32; UPDATE = 64; JOIN = 128;
- hasCreate() : mixed
- hasDelete() : mixed
- hasGet() : mixed
- hasJoin() : mixed
- hasManage() : mixed
- hasRead() : mixed
- hasUpdate() : mixed
- hasWrite() : mixed
- setCreate() : mixed
- setDelete() : mixed
- setGet() : mixed
- setJoin() : mixed
- setManage() : mixed
- setRead() : mixed
- setUpdate() : mixed
- setWrite() : mixed
- toArray() : mixed
Properties
$create
private
mixed
$create
= false
$delete
private
mixed
$delete
= false
$get
private
mixed
$get
= false
$join
private
mixed
$join
= false
$manage
private
mixed
$manage
= false
$name
private
mixed
$name
$read
private
mixed
$read
= false
$update
private
mixed
$update
= false
$write
private
mixed
$write
= false
Methods
__construct()
public
__construct(mixed $name[, mixed $rights = 0 ]) : mixed
Parameters
- $name : mixed
- $rights : mixed = 0
getName()
public
getName() : mixed
getRights()
Returns acces rights in integer form. The values for specific rights are: READ = 1; WRITE = 2; MANAGE = 4; DELETE = 8; CREATE = 16; GET = 32; UPDATE = 64; JOIN = 128;
public
getRights() : mixed
return int
hasCreate()
public
hasCreate() : mixed
hasDelete()
public
hasDelete() : mixed
hasGet()
public
hasGet() : mixed
hasJoin()
public
hasJoin() : mixed
hasManage()
public
hasManage() : mixed
hasRead()
public
hasRead() : mixed
hasUpdate()
public
hasUpdate() : mixed
hasWrite()
public
hasWrite() : mixed
setCreate()
public
setCreate([mixed $create = true ]) : mixed
Parameters
- $create : mixed = true
setDelete()
public
setDelete([mixed $delete = true ]) : mixed
Parameters
- $delete : mixed = true
setGet()
public
setGet([mixed $get = true ]) : mixed
Parameters
- $get : mixed = true
setJoin()
public
setJoin([mixed $join = true ]) : mixed
Parameters
- $join : mixed = true
setManage()
public
setManage([mixed $manage = true ]) : mixed
Parameters
- $manage : mixed = true
setRead()
public
setRead([mixed $read = true ]) : mixed
Parameters
- $read : mixed = true
setUpdate()
public
setUpdate([mixed $update = true ]) : mixed
Parameters
- $update : mixed = true
setWrite()
public
setWrite([mixed $write = true ]) : mixed
Parameters
- $write : mixed = true
toArray()
public
toArray() : mixed