dolibarr 20.0.0
hrm_evaluation.lib.php File Reference

Library files with common functions for Evaluation. More...

Go to the source code of this file.

Functions

 evaluationPrepareHead ($object)
 Prepare array of tabs for Evaluation.
 
 GetLegendSkills ()
 
 getRankOrderResults ($obj)
 
 getGroupedEval ($objects)
 Grouped rows with same ref in array.
 

Detailed Description

Library files with common functions for Evaluation.

Definition in file hrm_evaluation.lib.php.

Function Documentation

◆ evaluationPrepareHead()

evaluationPrepareHead ( $object)

Prepare array of tabs for Evaluation.

Parameters
Evaluation$objectEvaluation
Returns
array<array<int,string>> Array of tabs

Definition at line 34 of file hrm_evaluation.lib.php.

References $object, complete_head_from_modules(), Link\count(), dol_buildpath(), dol_dir_list(), dol_sanitizeFileName(), and getDolGlobalString().

◆ getGroupedEval()

getGroupedEval ( $objects)

Grouped rows with same ref in array.

Parameters
object[]$objectsall rows retrieve from sql query
Returns
array<object>|int Object by groiup, -1 if error (empty or bad argument)

Definition at line 171 of file hrm_evaluation.lib.php.

References $object.

◆ GetLegendSkills()

GetLegendSkills ( )
Returns
string

Definition at line 101 of file hrm_evaluation.lib.php.

◆ getRankOrderResults()

getRankOrderResults ( $obj)
Parameters
object$objObject needed to be represented
Returns
string

Definition at line 136 of file hrm_evaluation.lib.php.

References dol_escape_htmltag(), and dol_trunc().