Public Member Functions | |
Relationship ($data) | |
getId () | |
isStillActive () | |
getUser1 () | |
getUser2 () | |
getType () | |
getProjects () | |
getStartDate () | |
getEndDate () | |
getComment () | |
create () | |
update () | |
delete () | |
exists () | |
toArray () | |
getCacheId () | |
Static Public Member Functions | |
static | newFromId ($id) |
Public Attributes | |
$id | |
$user1 | |
$user2 | |
$type | |
$projects | |
$projectsWaiting | |
$startDate | |
$endDate | |
$comment | |
Static Public Attributes | |
static | $cache = array() |
Relationship::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Relationship::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Relationship::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
Relationship::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
Relationship::getId | ( | ) |
Reimplemented from BackboneModel.
Relationship::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
Relationship::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.