dolibarr 21.0.0-alpha
hrm_skillrank.lib.php File Reference

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

Go to the source code of this file.

Functions

 skillrankPrepareHead ($object)
 Prepare array of tabs for SkillRank.
 
 displayRankInfos ($selected_rank, $fk_skill, $inputname='TNote', $mode='view')
 Used to print ranks of a skill into several case, view or edit pour js necessary to select a rank.
 

Detailed Description

Library files with common functions for SkillRank.

Definition in file hrm_skillrank.lib.php.

Function Documentation

◆ displayRankInfos()

displayRankInfos ( $selected_rank,
$fk_skill,
$inputname = 'TNote',
$mode = 'view' )

Used to print ranks of a skill into several case, view or edit pour js necessary to select a rank.

Parameters
int$selected_rankrank we want to preselect
int$fk_skillid of skill we display ranks
string$inputnamehtml name of input
string$modeview or edit
Returns
string string result

Definition at line 107 of file hrm_skillrank.lib.php.

References setEventMessages().

◆ skillrankPrepareHead()

skillrankPrepareHead ( $object)

Prepare array of tabs for SkillRank.

Parameters
SkillRank$objectSkillRank
Returns
array Array of tabs

Definition at line 33 of file hrm_skillrank.lib.php.

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