dolibarr  20.0.0-alpha
Functions
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. More...
 
 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. More...
 

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.

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