Class: iHRIS PageFormParentTrainingInstitution
The class iHRIS_PageFormParentTrainingInstitution contains 2 definitions:
- Definition in qualify/lib/iHRIS_PageFormParentTrainingInstitution.php of the package iHRIS Qualify
- Definition in common/modules/TrainingInstitution/lib/iHRIS_PageFormParentTrainingInstitution.php of the package iHRIS Common
qualify/lib/iHRIS_PageFormParentTrainingInstitution.php
This article describes the class iHRIS_PageFormParentTrainingInstitution.
- 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_PageFormParentTrainingInstitution.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
Manage adding or editing forms associated with a training institution to the database. @copyright Copyright © 2007, 2008 IntraHealth International, Inc.
Variables
$id
The record id number of the object being edited.
- Type: protected integer $id
$parent_id
The recored if number of the parent of the object being edited
- Type: protected integer $parent_id
$form_name
The form name being edited by this page.
- Type: protected string $form_name
Methods
__construct()
Create a new instance of a page. The default constructor should be called by any pages extending this object. It creates the and objects and sets up the basic member variables.
- 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:
getForm()
Return the form name for this page. It will be used for the default form template and php page for the form submission.
- Signature: protected function getForm($html)
- Parameters:
- boolean $html
Set to true if this is to be used for the html template page to load.- Default Value: false
- boolean $html
- Returns: string
loadHTMLTemplates()
Load the HTML template files for editing.
- Signature: protected function loadHTMLTemplates()
loadObjects()
Create and load data for the objects used for this form. Create the list object and if this is a form submission load the data from the form data. It determines the type based on the member variable.
- Signature: protected function loadObjects()
save()
Override the default save method to redirect back the training institution page.
- Signature: protected function save()
setDisplayData()
Set the data to be displayed for the page.
- Signature: protected function setDisplayData()
common/modules/TrainingInstitution/lib/iHRIS_PageFormParentTrainingInstitution.php
This article describes the class iHRIS_PageFormParentTrainingInstitution.
- Extends the class: I2CE_PageForm.
- Parent Classses: I2CE_PageForm I2CE_Page I2CE_Fuzzy
- Location: Part of the module training-institution in the package iHRIS Common
- Source: Defined in the file modules/TrainingInstitution/lib/iHRIS_PageFormParentTrainingInstitution.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
Manage adding or editing forms associated with a training institution to the database. @copyright Copyright © 2007, 2008 IntraHealth International, Inc. Page object to handle the adding or editing forms associated with a training institution to the database.
Variables
$id
The record id number of the object being edited.
- Type: protected integer $id
$parent_id
The recored if number of the parent of the object being edited
- Type: protected integer $parent_id
$form_name
The form name being edited by this page.
- Type: protected string $form_name
Methods
__construct()
Create a new instance of a page. The default constructor should be called by any pages extending this object. It creates the and objects and sets up the basic member variables.
- 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:
getForm()
Return the form name for this page. It will be used for the default form template and php page for the form submission.
- Signature: protected function getForm($html)
- Parameters:
- boolean $html
Set to true if this is to be used for the html template page to load.- Default Value: false
- boolean $html
- Returns: string
loadHTMLTemplates()
Load the HTML template files for editing.
- Signature: protected function loadHTMLTemplates()
loadObjects()
Create and load data for the objects used for this form. Create the list object and if this is a form submission load the data from the form data. It determines the type based on the member variable.
- Signature: protected function loadObjects()
save()
Override the default save method to redirect back the training institution page.
- Signature: protected function save()
setDisplayData()
Set the data to be displayed for the page.
- Signature: protected function setDisplayData()