[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

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

(no description)

File Size: 484 lines (18 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 1 file
 include/class.error_handler.php

Defines 1 class

Email_Account:: (14 methods):
  getIssueAutoCreationOptions()
  updateIssueAutoCreation()
  getAccountByEmail()
  getAccountID()
  getProjectID()
  getDetails()
  removeAccountByProjects()
  remove()
  insert()
  update()
  getList()
  getAssocList()
  getEmailAccount()
  getEmailAccountByIssueID()


Class: Email_Account  - X-Ref

getIssueAutoCreationOptions($ema_id)   X-Ref
Method used to get the options related to the auto creation of
new issues.

param: integer $ema_id The email account ID
return: array The issue auto creation options

updateIssueAutoCreation($ema_id, $auto_creation, $options)   X-Ref
Method used to update the issue auto creation related options.

param: integer $ema_id The email account ID
return: integer 1 if the update worked, -1 otherwise

getAccountByEmail($sup_id)   X-Ref
Method used to get the support email account associated with a given
support email message.

param: integer $sup_id The support email ID
return: integer The email account ID

getAccountID($username, $hostname, $mailbox)   X-Ref
Method used to get the account ID for a given email account.

param: string $username The username for the specific email account
param: string $hostname The hostname for the specific email account
param: string $mailbox The mailbox for the specific email account
return: integer The support email account ID

getProjectID($ema_id)   X-Ref
Method used to get the project ID associated with a given email account.

param: integer $ema_id The support email account ID
return: integer The project ID

getDetails($ema_id)   X-Ref
Method used to get the details of a given support email
account.

param: integer $ema_id The support email account ID
return: array The account details

removeAccountByProjects($ids)   X-Ref
Method used to remove all support email accounts associated
with a specified set of projects.

param: array $ids The list of projects
return: boolean

remove()   X-Ref
Method used to remove the specified support email accounts.

return: boolean

insert()   X-Ref
Method used to add a new support email account.

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

update()   X-Ref
Method used to update a support email account details.

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

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

return: array The list of accounts

getAssocList($projects, $include_project_title = false)   X-Ref
Method used to get an associative array of the support email
accounts in the format of account ID => account title.

param: integer $projects An array of project IDs
return: array The list of accounts

getEmailAccount($prj_id = false)   X-Ref
Method used to get the first support email account associated
with the current activated project.

param: integer $prj_id The ID of the project. If blank the currently project will be used.
return: integer The email account ID

getEmailAccountByIssueID($issue_id)   X-Ref
Method used to get the email account associated with the given
issue' project.

param: integer $issue_id The issue ID
return: integer The email account ID



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