Public Member Functions | |
CRMContact ($data) | |
getId () | |
getTitle () | |
getPerson () | |
getOwner () | |
getDetails () | |
getProjects () | |
getUrl () | |
getOpportunities () | |
isAllowedToEdit () | |
isAllowedToView () | |
validate () | |
toArray () | |
create () | |
update () | |
delete () | |
exists () | |
getCacheId () | |
Static Public Member Functions | |
static | newFromId ($id) |
static | getAllContacts ($project=null) |
static | isAllowedToCreate () |
Public Attributes | |
$id | |
$title | |
$owner | |
$details = array() | |
$projects = null | |
Static Public Attributes | |
static | $cache = array() |
CRMContact::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
CRMContact::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
CRMContact::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
CRMContact::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
CRMContact::getId | ( | ) |
Reimplemented from BackboneModel.
CRMContact::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
CRMContact::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
CRMContact::validate | ( | ) |
Verifies that the Contact is unique