Class: I2CE SimpleList: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]] | This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]] | ||
==name== | ==name== | ||
The form field ''name'' is implemented by [[Class: I2CE_FormField_STRING_LINE |STRING_LINE ]] | |||
==Methods== | ==Methods== | ||
===getHTMLTemplate()=== | ===getHTMLTemplate()=== |
Revision as of 11:48, 19 October 2009
This article describes the class I2CE_SimpleList.
- Extends the class: I2CE_List.
- Location: Part of the module Lists in the package I2CE
- Source: Defined in the file modules/Forms/modules/Lists/lib/I2CE_SimpleList.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
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