Class: iHRIS PageForm Evaluate Course Competencies: Difference between revisions

From IHRIS Wiki
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article describes the class ''iHRIS_PageForm_Evaluate_Course_Competencies''.
#REDIRECT [[Class: iHRIS_PageForm_Evaluate_Course_Competencies (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 Common Module List#training-simple-competency|training-simple-competency]] in the package [https://launchpad.net/ihris-common iHRIS Common]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.0.0-release/annotate/head:/modules/TrainingCourse/modules/TrainingSimpleCompetency/lib/iHRIS_PageForm_Evaluate_Course_Competencies.php modules/TrainingCourse/modules/TrainingSimpleCompetency/lib/iHRIS_PageForm_Evaluate_Course_Competencies.php]
*Author: Carl Leitner <litlfred@ibiblio.org>
iHRIS_PageForm_Person_Scheduled_Training_Course
==Variables==
===$id===
The record id number of the object being edited. -- the person_scheduled_training_course
*Type: protected integer $id
 
===$evaluaions===
*Type: protected $evaluaions
 
==Methods==
===__construct()===
Create a new instance of this page. This will call the parent constructor and then setup the base template pages for the [[Class: I2CE_Template | template]]. It also sets up the values for the member variables. @param string $title The title for this page. @param string $defaultHTMLFile The default HTML file for this page. @param mixed $access The role required to access this page. @param array $files The list of template files to load for this page.
*Signature: public function __construct($args,$request_remainder)
*Parameters:
**$args
**$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
===loadHTMLTemplates()===
Load the  template (HTML or XML) files to the template object.
*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.
*Signature: protected function loadObjects()
===save()===
Save the objects to the database. Save the default object being edited b @global array
*Signature: protected function save()
 
 
[[Category:Class Documentation]]

Latest revision as of 10:06, 23 August 2013