프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dohistory | |||
$first_level_menu | |||
$must_be_replace | |||
$rightname | |||
$second_level_menu |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$usenotepad |
메소드 | 설명 | |
---|---|---|
canCreateItem ( ) | ||
canUpdate ( ) | ||
canUpdateItem ( ) | ||
canViewItem ( ) | ||
cleanDBonPurge ( ) | ||
defineTabs ( $options = [] ) | ||
displayHeader ( ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
dropdownAutoAssignMode ( array $options ) | ||
executeAddRule ( $input ) | ||
generateLinkSatisfaction ( $ticket ) : url | Generate link for ticket satisfaction | |
getAutoAssignMode ( $val = NULL ) : array | get value for auto_assign_mode | |
getEntitiesToNotify ( $field ) : Array | get all entities with a notification option set manage CONFIG_PARENT (or NULL) value | |
getEntityID ( ) : ID | Get the ID of entity assigned to the object | |
getEntityIDByCompletename ( $value ) | ||
getEntityIDByDN ( $value ) | ||
getEntityIDByDomain ( $value ) | ||
getEntityIDByTag ( $value ) | ||
getForbiddenStandardMassiveAction ( ) | ||
getRights ( $interface = 'central' ) | ||
getSearchOptions ( ) | ||
getSpecificValueToDisplay ( $field, $values, array $options = [] ) | ||
getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | ||
getUsedConfig ( $fieldref, $entities_id, $fieldval = '', $default_value ) | Retrieve data of current entity or parent entity | |
isEntityAssign ( ) | ||
isEntityDirectoryConfigured ( $entities_id ) | ||
isNewID ( $ID ) | ||
isRecursive ( ) : integer | Is the object recursive | |
maybeRecursive ( ) | ||
post_addItem ( ) | ||
pre_deleteItem ( ) | ||
prepareInputForAdd ( $input ) | ||
prepareInputForUpdate ( $input ) | ||
showAdvancedOptions ( Entity $entity ) | ||
showHelpdeskOptions ( Entity $entity ) | ||
showInventoryOptions ( Entity $entity ) | ||
showNotificationOptions ( Entity $entity ) | ||
showSelector ( $target, $myname ) | Display entities of the loaded profile | |
showStandardOptions ( Entity $entity ) | ||
title ( ) : nothing | Print a good title for entity pages |
메소드 | 설명 | |
---|---|---|
checkRightDatas ( $input ) : array | Check right on each field before add / update | |
getEntityIDByField ( $field, $value ) |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public dropdownAutoAssignMode ( array $options ) | ||
$options | array | array |
static public generateLinkSatisfaction ( $ticket ) : url | ||
$ticket | ticket object | |
리턴 | url | contents |
static public getAutoAssignMode ( $val = NULL ) : array | ||
$val | if not set, ask for all values, else for 1 value (default NULL) | |
리턴 | array | or string |
static public getEntitiesToNotify ( $field ) : Array | ||
$field | String name of the field to search (>0) | |
리턴 | Array | of id => value |
static public getSpecificValueToDisplay ( $field, $values, array $options = [] ) | ||
$field | ||
$values | ||
$options | array | array |
static public getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) | ||
$field | ||
$name | (default '') | |
$values | (default '') | |
$options | array | array |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public getUsedConfig ( $fieldref, $entities_id, $fieldval = '', $default_value ) | ||
$fieldref | string name of the referent field to know if we look at parent entity | |
$entities_id | ||
$fieldval | string name of the field that we want value (default '') | |
$default_value | value to return (default -2) |
static public isEntityDirectoryConfigured ( $entities_id ) | ||
$entities_id |
static public showAdvancedOptions ( Entity $entity ) | ||
$entity | Entity | Entity object |
static public showHelpdeskOptions ( Entity $entity ) | ||
$entity | Entity | Entity object |
static public showInventoryOptions ( Entity $entity ) | ||
$entity | Entity | Entity object |
static public showNotificationOptions ( Entity $entity ) | ||
$entity | Entity | Entity object |
static public showSelector ( $target, $myname ) | ||
$target | target for entity change action | |
$myname | select name |
static public showStandardOptions ( Entity $entity ) | ||
$entity | Entity | Entity object |