Class: iHRIS Exam: Difference between revisions
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]] | ||
==application_date== | ==application_date== | ||
The form field ''application_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==materials_received== | ==materials_received== | ||
The form field ''materials_received'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]] | |||
==materials_approved== | ==materials_approved== | ||
The form field ''materials_approved'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]] | |||
==endorser_name== | ==endorser_name== | ||
The form field ''endorser_name'' is implemented by [[Class: I2CE_FormField_STRING_LINE |STRING_LINE ]] | |||
==endorser_date== | ==endorser_date== | ||
The form field ''endorser_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==endorser_qualifications== | ==endorser_qualifications== | ||
The form field ''endorser_qualifications'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]] | |||
==exam_date== | ==exam_date== | ||
The form field ''exam_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==try== | ==try== | ||
The form field ''try'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]] | |||
==results== | ==results== | ||
The form field ''results'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]] | |||
==exam_number== | ==exam_number== | ||
The form field ''exam_number'' is implemented by [[Class: I2CE_FormField_STRING_LINE |STRING_LINE ]] | |||
==Methods== | ==Methods== | ||
===validate()=== | ===validate()=== |
Revision as of 12:49, 19 October 2009
This article describes the class iHRIS_Exam.
- Extends the class: I2CE_Form.
- Location: Part of the module ihris-qualify in the package iHRIS Qualify
- Source: Defined in the file lib/iHRIS_Exam.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v1.0.0
@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with exams for trainings.
Form Fields
This class is a form class and provides the following form fields
application_date
The form field application_date is implemented by DATE_YMD
materials_received
The form field materials_received is implemented by YESNO
materials_approved
The form field materials_approved is implemented by YESNO
endorser_name
The form field endorser_name is implemented by STRING_LINE
endorser_date
The form field endorser_date is implemented by DATE_YMD
endorser_qualifications
The form field endorser_qualifications is implemented by STRING_MLINE
exam_date
The form field exam_date is implemented by DATE_YMD
try
The form field try is implemented by MAP
results
The form field results is implemented by MAP
exam_number
The form field exam_number is implemented by STRING_LINE
Methods
validate()
Perform any additional required validation for the exam.
- Signature: public function validate($page)
- Parameters:
- I2CE_Template &$page