LIMSOpportunity Class Reference

Inheritance diagram for LIMSOpportunity:
BackboneModel

List of all members.

Public Member Functions

 LIMSOpportunity ($data)
 getId ()
 getContact ()
 getPerson ()
 getOwner ()
 getProject ()
 getProjectId ()
 getUserType ()
 getDescription ()
 getCategory ()
 getSurveyed ()
 getResponded ()
 getSatisfaction ()
 getStatus ()
 getDate ()
 getTasks ()
 getProducts ()
 getFiles ()
 getFile ($id)
 isAllowedToEdit ()
 isAllowedToView ()
 toArray ()
 create ()
 update ()
 delete ()
 uploadFiles ()
 exists ()
 getCacheId ()

Static Public Member Functions

static generateRequestId ()
static newFromId ($id)
static newFromProjectId ($id, $start_date="0000-00-00", $end_date="2100-01-01")
static getOpportunities ($contact_id)
static isAllowedToCreate ()

Public Attributes

 $id
 $contact
 $owner
 $project
 $userType
 $description
 $category
 $surveyed
 $responded
 $satisfaction
 $status
 $date
 $files = array()
 $products = array()

Static Public Attributes

static $requestIds = null

Member Function Documentation

LIMSOpportunity::create (  ) 

Creates a new record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the creation was successful or not

Reimplemented from BackboneModel.

LIMSOpportunity::delete (  ) 

Deletes the record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the deletion was successful or not

Reimplemented from BackboneModel.

LIMSOpportunity::exists (  ) 

Returns whether or not this BackboneModel exists or not

Returns:
boolean Returns whether or not this BackboneModel exists or not

Reimplemented from BackboneModel.

LIMSOpportunity::getCacheId (  ) 

Returns the id of this BackboneModel's cache

Returns:
string Returns the id of this BackboneModel's cache

Reimplemented from BackboneModel.

LIMSOpportunity::getId (  ) 
Returns:
int Returns the id of this BackboneModel

Reimplemented from BackboneModel.

LIMSOpportunity::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from BackboneModel.

LIMSOpportunity::update (  ) 

Updates the record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the update was successful or not

Reimplemented from BackboneModel.


The documentation for this class was generated from the following file:

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1