Documentation

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
psalm-suppress

PossiblyUnusedMethod

Return values
OODBBean

rolename()

Return rolename object

public rolename() : OODBBean
Tags
psalm-suppress

PossiblyUnusedMethod

Return values
OODBBean

update()

Update - called when a rolename bean is stored

public update() : void
Tags
throws
BadValue
psalm-suppress

PossiblyUnusedMethod

Return values
void

valid()

Is this role currently valid? i.e. start < now < end (if end has a value)

public valid() : bool
Tags
psalm-suppress

PossiblyUnusedMethod

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

Return values
string

Search results