LIMSTask Class Reference

Inheritance diagram for LIMSTask:
BackboneModel

List of all members.

Public Member Functions

 LIMSTask ($data)
 getId ()
 getOpportunity ()
 getAssignee ()
 getPerson ()
 getTask ()
 getDueDate ()
 getComments ()
 getStatus ()
 getDate ()
 isAllowedToEdit ()
 isAllowedToView ()
 sendMail ($assignee, $type)
 toArray ()
 create ()
 update ()
 delete ()
 exists ()
 getCacheId ()

Static Public Member Functions

static newFromId ($id)
static getTasks ($opportunity_id)
static isAllowedToCreate ()

Public Attributes

 $id
 $opportunity
 $assignee
 $task
 $dueDate
 $comments
 $status
 $date

Member Function Documentation

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

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

LIMSTask::exists (  ) 

Returns whether or not this BackboneModel exists or not

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

Reimplemented from BackboneModel.

LIMSTask::getCacheId (  ) 

Returns the id of this BackboneModel's cache

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

Reimplemented from BackboneModel.

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

Reimplemented from BackboneModel.

LIMSTask::sendMail ( assignee,
type 
)

Sends an email to the assignee

Parameters:
Person $assignee The Person to send the email to
string $type The type of message to send (one of 'new', 'assignee', 'due_date', 'reminder')
LIMSTask::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from BackboneModel.

LIMSTask::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