Class: iHRIS PageForm Evaluate Course Competencies

From IHRIS Wiki
Revision as of 13:12, 19 October 2009 by Litlfred (talk | contribs)

This article describes the class iHRIS_PageForm_Evaluate_Course_Competencies.

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 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:
    • boolean $save
      Flag to show the save button.
      • Default Value: false
    • boolean $show_edit
      (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()