Class: iHRIS Competency: Difference between revisions

From IHRIS Wiki
No edit summary
(Redirected page to Class: iHRIS Competency (4.1.7))
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article describes the class ''iHRIS_Competency''.
#REDIRECT [[Class: iHRIS_Competency (4.1.7)]]
*Extends the class: [[Class: I2CE_List | I2CE_List]].
*Location: Part of the module [[iHRIS Common Module List#simple-competency|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/SimpleComptency/lib/iHRIS_Competency.php modules/SimpleComptency/lib/iHRIS_Competency.php]
*Author: Luke Duncan <lduncan@intrahealth.org>
*Since: v1.0.0
@copyright Copyright &copy; 2007, 2008 IntraHealth International, Inc.    Object for dealing with competencies.
==Form Fields==
This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]]
==name==
The form field ''name'' is implemented by [[Class: I2CE_FormField_STRING_LINE |STRING_LINE ]]
==competency_type==
The form field ''competency_type'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]]
==notes==
The form field ''notes'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]]
==Methods==
===getCompetenciesByType()===
List all competencies by type (the linked form for this object). This will return an array that includes all competency types with all competencies that are in that type.
*Signature: static public function getCompetenciesByType($flat,$id)
*Parameters:
** [http://www.php.net/manual/en/language.types.boolean.php boolean ] $flat <br/>If false. returns array indexed by compentency id, then comptentcy_type name.  Otherwise it returns an array indexed by compenety_type name
***Default Value: true
** [http://www.php.net/manual/en/language.types.string.php string ] $id <br/>Defaults to null. If non-null it is the id of the competency to limit to. in which case we simply return the comptenty_type and and comptenecy name
***Default Value: null
*Returns: [http://www.php.net/manual/en/language.types.array.php array ]
===getCompetencyWithType()===
*Signature: public function getCompetencyWithType($id)
*Parameters:
**$id
 
 
[[Category:Class Documentation]]

Latest revision as of 08:54, 23 August 2013