A right to do or access something.
A right is accessed from the system by its $identname, not from its numeric ID.
| package | dstruct_auth |
|---|
__construct(mixed $row)
mixedDatabase row or false.
addImpliedRight(\Right $right)
\Right
getID() : integer
integergetIdentName() : string
This would typically be something readable such as 'access_reports' or 'edit_invoices'.
stringgetImpliedRights() : object
objectA collection objectgetTitle(boolean $raw) : string
Typically something which would be displayed to users such as 'Access Reports' or 'Edit Invoices'.
booleanReturn raw or html encoded
stringloadByID(integer $id, array $row) : false | object
integer
arrayData for creating an instance of this class
falseobjectFalse if object not foundremoveImpliedRight(\Right $right)
\Right
save()
setIdentName(string $name)
Should be all lower-case and only contain alpha-numerics and underscore
string
setTitle(string $title)
string
loadImpliedRights()
$id : integer
$identname : string
| see | \getIdentName() |
|---|
$impliedrights : null | object
$title : string
| see | \getTitle() |
|---|