Public Member Functions | |
CRMOpportunity ($data) | |
getId () | |
getContact () | |
getPerson () | |
getOwner () | |
getDescription () | |
getCategory () | |
getTasks () | |
isAllowedToEdit () | |
isAllowedToView () | |
toArray () | |
create () | |
update () | |
delete () | |
exists () | |
getCacheId () | |
Static Public Member Functions | |
static | newFromId ($id) |
static | getOpportunities ($contact_id) |
static | isAllowedToCreate () |
Public Attributes | |
$id | |
$contact | |
$owner | |
$description | |
$category |
CRMOpportunity::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
CRMOpportunity::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
CRMOpportunity::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
CRMOpportunity::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
CRMOpportunity::getId | ( | ) |
Reimplemented from BackboneModel.
CRMOpportunity::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
CRMOpportunity::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.