Class: iHRIS Module Training Course
From IHRIS Wiki
This article describes the class iHRIS_Module_Training_Course.
- Extends the class: I2CE_Module.
- Parent Classses: I2CE_Module I2CE_Fuzzy
- Location: Part of the module training-course in the package iHRIS Common
- Source: Defined in the file modules/TrainingCourse/lib/iHRIS_Module_Training_Course.php
- Author: Carl Leitner <litlfred@ibiblio.org>
iHRIS_Module_Trainng_Course
Methods
action_person_scheduled_training_course()
- Signature: public function action_person_scheduled_training_course($page)
- Parameters:
- $page
getMethods()
- Signature: static public function getMethods()
moveScheduledTrainingCourseToMap()
Make ehceduled training courses a map value of training course rather than a child.
- Signature: protected function moveScheduledTrainingCourseToMap()
pre_upgrade()
Run the pre upgrade for this module. This can use the old config data before it has been changed from the config.
- Signature: public function pre_upgrade($old_vers,$new_vers,$new_storage)
- Parameters:
- string $old_vers
- string $new_vers
- I2CE_MagicDataNode $new_storage
- Returns: boolean
showEnrolledCourses()
- Signature: public function showEnrolledCourses($node,$template,$args)
- Parameters:
- $node
- $template
- $args
- Default Value: array()
upgrade()
Upgrade this module if necessary