Property | Type | Description | |
---|---|---|---|
$can_be_translated |
Method | Description | |
---|---|---|
adaptTreeFieldsFromUpdateOrAdd ( $input ) | ||
cleanTreeText ( $value ) : string | reformat text field describing a tree (such as completename) | |
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
findID ( array &$input ) : the | check if a tree dropdown already exists (before import) | |
getAdditionalFields ( ) | Return Additional Fileds for this type | |
getCompleteNameFromParents ( $parentCompleteName, $thisName ) | Compute completename based on parent one | |
getSearchOptions ( ) : array | Get search function for the class | |
getSpecificMassiveActions ( $checkitem = NULL ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTreeLink ( ) : string | Get the this for all the current item and all its parent | |
haveChildren ( ) | Report if a dropdown have Child Used to (dis)allow delete action | |
import ( array $input ) : the | Import a dropdown - check if already exists | |
post_addItem ( ) | ||
post_deleteFromDB ( ) | ||
post_updateItem ( $history = 1 ) | ||
pre_deleteItem ( ) | ||
prepareInputForAdd ( $input ) | ||
prepareInputForUpdate ( $input ) | ||
processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids ) | ||
recursiveCleanSonsAboveID ( $ID ) | ||
regenerateTreeUnderID ( $ID, $updateName, $changeParent ) | ||
showChildren ( ) : Nothing | Print the HTML array children of a TreeDropdown | |
showMassiveActionsSubForm ( MassiveAction $ma ) |
public adaptTreeFieldsFromUpdateOrAdd ( $input ) | ||
$input |
static public cleanTreeText ( $value ) : string | ||
$value | string | |
return | string |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
public getAdditionalFields ( ) |
static public getCompleteNameFromParents ( $parentCompleteName, $thisName ) | ||
$parentCompleteName | string parent complete name (need to be stripslashes / comes from DB) | |
$thisName | string item name (need to be addslashes : comes from input) |
public getSearchOptions ( ) : array | ||
return | array | of search option |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
public getTreeLink ( ) : string | ||
return | string |
public haveChildren ( ) |
static public processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids ) | ||
$ma | MassiveAction | |
$item | CommonDBTM | |
$ids | array |
public regenerateTreeUnderID ( $ID, $updateName, $changeParent ) | ||
$ID | ||
$updateName | ||
$changeParent |
public showChildren ( ) : Nothing | ||
return | Nothing | (display) |
static public showMassiveActionsSubForm ( MassiveAction $ma ) | ||
$ma | MassiveAction |