프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$rightname |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$ruleactionclass | |||
$rulecriteriaclass | No criteria | ||
$rules_id_field |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor | |
cleanDBonPurge ( ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
dropdownExecutionTime ( $name, $options = [] ) : nothing | Dropdown execution time for SLT | |
getActions ( ) | ||
getAlreadyUsedExecutionTime ( $slts_id ) : array | Get already used execution time for a SLT | |
getConditionsArray ( ) | ||
getCriterias ( ) | ||
getFirstSltLevel ( $slts_id ) : id | Get first level for a SLT | |
getForbiddenStandardMassiveAction ( ) | ||
getNextSltLevel ( $slts_id, $slalevels_id ) : id | Get next level for a SLT | |
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTable ( ) | Temporary hack for this class in 0.84 | |
getTypeName ( $nb ) | ||
showForSLT ( SLT $slt ) | ||
showForm ( $ID, $options = [] ) : nothing | Show the rule |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public dropdownExecutionTime ( $name, $options = [] ) : nothing | ||
$name | string name of the select | |
$options | array of possible options: - value : default value - max_time : max time to use - used : already used values | |
리턴 | nothing |
static public getAlreadyUsedExecutionTime ( $slts_id ) : array | ||
$slts_id | integer id of the SLT | |
리턴 | array | of already used execution times |
static public getFirstSltLevel ( $slts_id ) : id | ||
$slts_id | integer id of the SLT | |
리턴 | id | of the sla level : 0 if not exists |
static public getNextSltLevel ( $slts_id, $slalevels_id ) : id | ||
$slts_id | integer id of the SLT | |
$slalevels_id | integer id of the current SLT level | |
리턴 | id | of the sla level : 0 if not exists |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
public showForm ( $ID, $options = [] ) : nothing | ||
$ID | ID of the rule | |
$options | array of possible options | |
리턴 | nothing |