Class: iHRIS PageFormFacilityInstitution
From IHRIS Wiki
This article describes the class iHRIS_PageFormFacilityInstitution.
- 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_PageFormFacilityInstitution.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
Handles the action of linking health facilities with training institutions. @copyright Copyright © 2007, 2008 IntraHealth International, Inc. The page class for displaying the form to link health facilities with training institutions.
Methods
action()
Perform the main actions of the page.
- Signature: protected function action()
displayControls()
Display the save or confirm button templates as needed.
- Signature: protected function displayControls($save,$show_edit)
- Parameters:
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()
search()
Search the database for the matching facilities or institutions.