Class: iHRIS PageFormDeparture
This article describes the class iHRIS_PageFormDeparture.
- Extends the class: iHRIS_PageFormParentPerson.
- Parent Classses: iHRIS_PageFormParentPerson I2CE_PageForm I2CE_Page I2CE_Fuzzy
- Location: Part of the module ihris-manage-PersonPosition in the package iHRIS Manage
- Source: Defined in the file modules/ManagePersonPosition/lib/iHRIS_PageFormDeparture.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
Manage editing person position departure in the database. @copyright Copyright © 2007, 2008 IntraHealth International, Inc. Page object to handle the editing of person position departure in the database.
Variables
$position
The position object this person has been assigned to.
- Type: private I2CE_Form $position
Methods
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()
Update the position for this to mark it as closed and then save the object.
- Signature: public function save()
setForm()
Set the I2CE_Form object in the page template. This method will pass the edit object to the page template so that it can process all the form variables.
- Signature: protected function setForm()
validate()
Run extra validation for the fields being edited.
- Signature: protected function validate()