Documentation

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

Methods

__construct()

public __construct(mixed $name[, mixed $rights = 0 ]) : mixed
Parameters
$name : mixed
$rights : mixed = 0

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

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

        
On this page

Search results