LIMSContact Class Reference

Inheritance diagram for LIMSContact:
BackboneModel

List of all members.

Public Member Functions

 LIMSContact ($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()

Member Function Documentation

LIMSContact::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.

LIMSContact::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.

LIMSContact::exists (  ) 

Returns whether or not this BackboneModel exists or not

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

Reimplemented from BackboneModel.

LIMSContact::getCacheId (  ) 

Returns the id of this BackboneModel's cache

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

Reimplemented from BackboneModel.

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

Reimplemented from BackboneModel.

LIMSContact::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from BackboneModel.

LIMSContact::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.

LIMSContact::validate (  ) 

Verifies that the Contact is unique


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

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1