Public Member Functions | |
Role ($data) | |
toArray () | |
create () | |
update () | |
delete () | |
exists () | |
getCacheId () | |
isStillActive () | |
getUser () | |
getPerson () | |
getRole () | |
isAlias () | |
getRoleFullName () | |
getTitle () | |
getStartDate () | |
getEndDate () | |
getComment () | |
getProjects () | |
hasProject ($project) | |
Static Public Member Functions | |
static | newFromId ($id) |
static | generateProjectsCache () |
static | getDistinctRoles () |
Public Attributes | |
$id | |
$user | |
$role | |
$title | |
$startDate | |
$endDate | |
$comment | |
$projects = null | |
Static Public Attributes | |
static | $cache = array() |
static | $projectCache = null |
Role::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Role::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Role::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
Role::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
Role::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
Role::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.