Class: I2CE SimpleList: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
This article describes the class ''I2CE_SimpleList''.
This article describes the class ''I2CE_SimpleList''.
*Extends the class: [[Class: I2CE_List | I2CE_List]].
*Extends the class: [[Class: I2CE_List | I2CE_List]].
*Location: Part of the module [[iHRIS Module List#Lists|Lists]] in the package [https://launchpad.net/i2ce I2CE]
*Location: Part of the module [[I2CE Module List#Lists|Lists]] in the package [https://launchpad.net/i2ce I2CE]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/Forms/modules/Lists/lib/I2CE_SimpleList.php modules/Forms/modules/Lists/lib/I2CE_SimpleList.php]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/Forms/modules/Lists/lib/I2CE_SimpleList.php modules/Forms/modules/Lists/lib/I2CE_SimpleList.php]
*Author: Luke Duncan <lduncan@intrahealth.org>
*Author: Luke Duncan <lduncan@intrahealth.org>

Revision as of 12:10, 19 October 2009

This article describes the class I2CE_SimpleList.

Object for dealing with simple lists.

Form Fields

This class is a form class and provides the following form fields

name

The form field name is implemented by STRING_LINE

Methods

getHTMLTemplate()

Return the HTML file name for the form template for this form.

  • Signature: public function getHTMLTemplate()
  • Returns: string

getListType()

Return the list edit type for this list. The possible return values are "list," "dual," or "select." Select will display a drop down of all choices and list and dual will list them all in a table. Dual includes the linked list object for the object.

  • Signature: public function getListType()
  • Returns: string