[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

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

(no description)

File Size: 365 lines (14 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 2 files
 include/class.status.php
 include/class.error_handler.php

Defines 1 class

Reminder_Condition:: (11 methods):
  getDetails()
  insert()
  update()
  remove()
  getList()
  getAdminList()
  getFieldTitle()
  getSQLField()
  getFieldAdminList()
  getOperatorAdminList()
  canFieldBeCompared()


Class: Reminder_Condition  - X-Ref

Class to handle the business logic related to the reminder emails
that the system sends out.

getDetails($rlc_id)   X-Ref
Method used to get the details for a specific reminder condition.

param: integer $rlc_id The reminder condition ID
return: array The details for the specified reminder condition

insert()   X-Ref
Method used to create a new reminder condition.

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

update()   X-Ref
Method used to update the details of a specific reminder condition.

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

remove()   X-Ref
Method used to remove reminder conditions by using the administrative
interface of the system.

return: boolean

getList($action_id)   X-Ref
Method used to get the list of reminder conditions associated with a given
reminder action ID.

param: integer $action_id The reminder action ID
return: array The list of reminder conditions

getAdminList($rma_id)   X-Ref
Method used to get the list of reminder conditions to be displayed in the
administration section.

param: integer $rma_id The reminder action ID
return: array The list of reminder conditions

getFieldTitle($field_id)   X-Ref
Method used to get the title of a specific reminder field.

param: integer $field_id The reminder field ID
return: string The title of the reminder field

getSQLField($field_id)   X-Ref
Method used to get the sql_field of a specific reminder field.

param: integer $field_id The reminder field ID
return: string The sql_field of the reminder field

getFieldAdminList($comparable_only = false)   X-Ref
Method used to get the list of reminder fields to be displayed in the
administration section.

param: boolean $comparable_only If true, only fields that can be compared to other fields will be returned
return: array The list of reminder fields

getOperatorAdminList()   X-Ref
Method used to get the list of reminder operators to be displayed in the
administration section.

return: array The list of reminder operators

canFieldBeCompared($field_id)   X-Ref
Method used to see if a specific reminder field can be compared to other fields.

param: integer $field_id The reminder field ID
return: boolean If this field can be compared to other fields.



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