[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

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

(no description)

File Size: 379 lines (15 kb)
Included or required: 5 times
Referenced: 0 times
Includes or requires: 1 file
 include/class.user.php

Defines 1 class

Authorized_Replier:: (9 methods):
  getAuthorizedRepliers()
  removeRepliers()
  manualInsert()
  addUser()
  isAuthorizedReplier()
  isUserAuthorizedReplier()
  getReplier()
  getReplierIDByEmail()
  remoteAddAuthorizedReplier()


Class: Authorized_Replier  - X-Ref

Class designed to handle adding, removing and viewing authorized repliers for an issue.

getAuthorizedRepliers($issue_id)   X-Ref
Method used to get the full list of users (the full names) authorized to
reply to emails in a given issue.

param: integer $issue_id The issue ID
return: array The list of users

removeRepliers($iur_ids)   X-Ref
Removes the specified authorized replier

param: integer $iur_id The id of the authorized replier

manualInsert($issue_id, $email, $add_history = true)   X-Ref
Adds the specified email address to the list of authorized users.

param: integer $issue_id The id of the issue.
param: string $email The email of the user.
param: boolean $add_history If this should be logged.

addUser($issue_id, $usr_id, $add_history = true)   X-Ref
Adds a real user to the authorized repliers list.

param: integer $issue_id The id of the issue.
param: integer $usr_id The id of the user.
param: boolean $add_history If this should be logged.

isAuthorizedReplier($issue_id, $email)   X-Ref
Returns if the specified user is authorized to reply to this issue.

param: integer $issue_id The id of the issue.
param: string  $email The email address to check.
return: boolean If the specified user is allowed to reply to the issue.

isUserAuthorizedReplier($issue_id, $usr_id)   X-Ref
Returns if the specified usr_id is authorized to reply.

param: integer $issue_id The id of the issue
param: integer $usr_id The id of the user.
return: boolean If the user is authorized to reply.

getReplier($iur_id)   X-Ref
Returns the replier based on the iur_id

param: integer iur_id The id of the authorized replier
return: string The name/email of the replier

getReplierIDByEmail($issue_id, $email)   X-Ref
Returns the replier based on the given issue and email address combo.

param: integer $issue_id The id of the issue.
param: string $email The email address of the user
return: integer The id of the replier

remoteAddAuthorizedReplier($issue_id, $usr_id, $replier)   X-Ref
Method used to remotely add an authorized replier to a given issue.

param: integer $issue_id The issue ID
param: integer $usr_id The user ID of the person performing the change
param: boolean $replier The user ID of the authorized replier
return: integer The status ID



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