Class: iHRIS Module TrainingSimpleCompetency (Development)

From IHRIS Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This article describes the class iHRIS_Module_TrainingSimpleCompetency .

iHRIS_Module_TrainingSimpleCompetency

Methods

assignAndEvaluateCompetencies()

Assigns compentices to a person based on the evaluation saved in a person scheduled training course

  • Defined in common/modules/TrainingCourse/modules/TrainingSimpleCompetency/lib/iHRIS_Module_TrainingSimpleCompetency.php on line 211
  • Signature: static public function assignAndEvaluateCompetencies($person_id,$comp_ids,$comp_eval_id,$eval_date,$only_update)
  • Parameters:
    • string $person_id
      the id of the person form e.g. 'person|12'
    • array $comp_ids
      of string. The ids of competencies we want to esnure a pserson has.
    • string $comp_eval_id
      The competentcy evaluation we wish to assign to each person.
    • I2CE_DATE $eval_date
      If null, then we use now as the date.
      • Default Value: null
    • boolean $only_update
      If true (the default) we only update existing person competencies if the last evaluation date is equal to or less than $eval_date.
      • Default Value: true
  • Returns: boolean.
    True on success

assignCompetenciesFromCourseEval()

Assigns compentices to a person based on the evaluation saved in a person scheduled training course @param iHRIS_Person $parent

getAssociatedCompetencies()

Get the competencies associated to an person scheduled training course

pre_upgrade()

Run the pre upgrade for this module. This can use the old config data before it has been changed from the config.

upgrade()

Upgrade this module if necessary

Inherited Methods

__construct()

This public method is inherited from I2CE_Module->__construct()

action_configure()

This public method is inherited from I2CE_Module->action_configure()

action_disable()

This public method is inherited from I2CE_Module->action_disable()

action_enable()

This public method is inherited from I2CE_Module->action_enable()

action_initialize()

This public method is inherited from I2CE_Module->action_initialize()

getCLIMethods()

This public method is inherited from I2CE_Module->getCLIMethods()

getConfig()

This public method is inherited from I2CE_Module->getConfig()

getHooks()

This public method is inherited from I2CE_Module->getHooks()

getMethods()

This public method is inherited from I2CE_Module->getMethods()

post_update()

This public method is inherited from I2CE_Module->post_update()

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Fuzzy Methods

launchBackgroundProcess()

This method is inherited from I2CE_Module->launchBackgroundProcess()

launchBackgroundPHPScript()

This method is inherited from I2CE_Module->launchBackgroundPHPScript()

launchBackgroundPage()

This method is inherited from I2CE_Module->launchBackgroundPage()

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()