|
|
(14 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| This article describes the class ''iHRIS_PageFormTrainingProgram''.
| | #REDIRECT [[Class: iHRIS_PageFormTrainingProgram (4.1.7)]] |
| *Extends the class: [[Class: I2CE_PageForm | I2CE_PageForm]].
| |
| *Parent Classses: [[Class: I2CE_PageForm | I2CE_PageForm]] [[Class: I2CE_Page | I2CE_Page]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
| |
| *Location: Part of the module [[iHRIS Qualify 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_PageFormTrainingProgram.php 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:
| |
| ** [http://www.php.net/manual/en/language.types.array.php array ] $args
| |
| ** [http://www.php.net/manual/en/language.types.array.php array ] $request_remainder
| |
| ===displayControls()===
| |
| Display the save or confirm button templates as needed.
| |
| *Signature: protected function displayControls($save,$show_edit)
| |
| *Parameters:
| |
| ** [http://www.php.net/manual/en/language.types.boolean.php boolean ] $save <br/>Flag to show the save button.
| |
| ***Default Value: false
| |
| ** [http://www.php.net/manual/en/language.types.boolean.php boolean ] $show_edit <br/>(defaults to true)
| |
| ***Default Value: true
| |
| ===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()
| |
| | |
| | |
| [[Category:Class Documentation]]
| |