Role
extends SimpleModel
in package
A class implementing a RedBean model for Role beans
Table of Contents
- rolecontext() : OODBBean
- Return rolecontext object
- rolename() : OODBBean
- Return rolename object
- update() : void
- Update - called when a rolename bean is stored
- valid() : bool
- Is this role currently valid? i.e. start < now < end (if end has a value)
- checkend() : string
- Fixes up end values
- checkstart() : string
- Fixes up start values
Methods
rolecontext()
Return rolecontext object
public
rolecontext() : OODBBean
Tags
Return values
OODBBean —rolename()
Return rolename object
public
rolename() : OODBBean
Tags
Return values
OODBBean —update()
Update - called when a rolename bean is stored
public
update() : void
Tags
Return values
void —valid()
Is this role currently valid? i.e. start < now < end (if end has a value)
public
valid() : bool
Tags
Return values
bool —checkend()
Fixes up end values
private
checkend(string $end) : string
Parameters
- $end : string
-
The input value
Return values
string —checkstart()
Fixes up start values
private
checkstart(string $start) : string
Parameters
- $start : string
-
The input value