|
|
(15 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| This article describes the class ''iHRIS_TrainingProgram''.
| | #REDIRECT [[Class: iHRIS_TrainingProgram (4.1.7)]] |
| *Extends the class: [[Class: I2CE_List | I2CE_List]].
| |
| *Location: Part of the module [[iHRIS Module List#ihris-qualify|ihris-qualify]] in the package [https://launchpad.net/qualify iHRIS Qualify]
| |
| *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/qualify/4.0.-release/annotate/head:/lib/iHRIS_TrainingProgram.php lib/iHRIS_TrainingProgram.php]
| |
| *Author: Luke Duncan <lduncan@intrahealth.org>
| |
| *Since: v1.0.0
| |
| @copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with training programs for training institutions.
| |
| ==Form Fields==
| |
| This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]]
| |
| ==training_institution==
| |
| The form field ''training_institution'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]]
| |
| ==cadre==
| |
| The form field ''cadre'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]]
| |
| ==start_date==
| |
| The form field ''start_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]]
| |
| ==end_date==
| |
| The form field ''end_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]]
| |
| ==num_students==
| |
| The form field ''num_students'' is implemented by [[Class: I2CE_FormField_INT |INT ]]
| |
| ==Constants==
| |
| ===iHRIS_TrainingProgram::MAIN_FIELD===
| |
| The main field name used for a description of a record.
| |
| Defined as: "cadre"
| |
| ==Methods==
| |
| ===__construct()===
| |
| Create a new instance of a training program.
| |
| *Signature: public function __construct($form,$id)
| |
| *Parameters:
| |
| ** [http://www.php.net/manual/en/language.types.string.php string ] $form <br/>The name of this form
| |
| ** integer $id
| |
| ***Default Value: 0
| |
| ===validate()===
| |
| Perform any extra validation for the training program.
| |
| *Signature: public function validate($page)
| |
| *Parameters:
| |
| ** [[Class: I2CE_Template | I2CE_Template]] &$page
| |
| | |
| | |
| [[Category:Class Documentation]]
| |