dolibarr  20.0.0-alpha
Functions
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. More...
 
 GetLegendSkills ()
 
 getRankOrderResults ($obj)
 
 getGroupedEval ($objects)
 Grouped rows with same ref in array. More...
 

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.

◆ 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.