Class: iHRIS TrainingProgram
From IHRIS Wiki
This article describes the class iHRIS_TrainingProgram.
- Extends the class: I2CE_List.
- Location: Part of the module ihris-qualify in the package iHRIS Qualify
- Source: Defined in the file 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 form class and provides the following form fields
training_institution
The form field training_institution is implemented by MAP
cadre
The form field cadre is implemented by MAP
start_date
The form field start_date is implemented by DATE_YMD
end_date
The form field end_date is implemented by DATE_YMD
num_students
The form field num_students is implemented by 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:
- string $form
The name of this form - integer $id
- Default Value: 0
- string $form
validate()
Perform any extra validation for the training program.
- Signature: public function validate($page)
- Parameters:
- I2CE_Template &$page