Class: iHRIS PageFormTrainingProgram
From IHRIS Wiki
This article describes the class iHRIS_PageFormTrainingProgram.
- Extends the class: I2CE_PageForm.
- Parent Classses: I2CE_PageForm I2CE_Page I2CE_Fuzzy
- Location: Part of the module ihris-qualify in the package iHRIS Qualify
- Source: Defined in the file lib/iHRIS_PageFormTrainingProgram.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
Handles the action of linking Training Programs to Training Institutions @copyright Copyright © 2007, 2008 IntraHealth International, Inc. The page class for displaying the form to link training programs with training institutions.
Variables
$id
The id being edited by this page.
- Type: protected integer $id
Methods
__construct()
Construct this page
- Signature: public function __construct($args,$request_remainder)
- Parameters:
displayControls()
Display the save or confirm button templates as needed.
- Signature: protected function displayControls($save,$show_edit)
- Parameters:
loadObjects()
Create and load any necessary objects for this form.
- Signature: protected function loadObjects()
save()
Save the objects to the database. This method overrides the default save because the object used to edit on this page needs to be converted to multiple FacilityInstitution objects.
- Signature: protected function save()