[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

/include/ -> class.email_response.php (summary)

(no description)

File Size: 352 lines (13 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 2 files
 include/class.misc.php
 include/class.error_handler.php

Defines 1 class

Email_Response:: (10 methods):
  addProjectAssociation()
  insert()
  remove()
  removeProjectAssociations()
  update()
  getDetails()
  getAssociatedProjects()
  getList()
  getAssocList()
  getAssocListBodies()


Class: Email_Response  - X-Ref

Class to handle the business logic related to the administration
of canned email responses in the system.

addProjectAssociation($ere_id, $prj_id)   X-Ref
Method used to add a project association to a email
response entry.

param: integer $ere_id The email response ID
param: integer $prj_id The project ID
return: void

insert()   X-Ref
Method used to add a new canned email response to the system.

return: integer 1 if the insert worked, -1 otherwise

remove()   X-Ref
Method used to remove a canned email response from the system.

return: boolean

removeProjectAssociations($ere_id, $prj_id=FALSE)   X-Ref
Method used to remove the project associations for a given
email response entry.

param: integer $ere_id The email response ID
param: integer $prj_id The project ID
return: boolean

update()   X-Ref
Method used to update a canned email response in the system.

return: integer 1 if the update worked, -1 otherwise

getDetails($ere_id)   X-Ref
Method used to get the details of a canned email response for a given
response ID.

param: integer $ere_id The email response ID
return: array The canned email response details

getAssociatedProjects($ere_id)   X-Ref
Method used to get the list of associated projects for a given
email response entry.

param: integer $ere_id The email response ID
return: array The list of projects

getList()   X-Ref
Method used to get the list of canned email responses available in the
system.

return: array The list of canned email responses

getAssocList($prj_id)   X-Ref
Method used to get an associate array of all canned email responses
available in the system.

param: integer $prj_id The project ID
return: array The list of canned email responses

getAssocListBodies($prj_id)   X-Ref
Method used to get an associative array of all of the canned email
responses' bodies.

param: integer $prj_id The project ID
return: array The list of canned email responses' bodies.



Generated: Wed Dec 19 21:21:33 2007 Cross-referenced by PHPXref 0.7