Свойство | Type | Description | |
---|---|---|---|
$items_id_1 | |||
$items_id_2 | |||
$itemtype_1 | From CommonDBRelation | ||
$itemtype_2 | |||
$take_entity_1 | |||
$take_entity_2 |
Méthode | Description | |
---|---|---|
canCreateItem ( ) | ||
cloneItem ( $itemtype, $oldid, $newid, $newitemtype = '' ) | Duplicate documents from an item template to its clone | |
countForDocument ( Document $item ) | ||
countForItem ( CommonDBTM $item ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
getForbiddenStandardMassiveAction ( ) | ||
getRelationMassiveActionsPeerForSubForm ( MassiveAction $ma ) | ||
getRelationMassiveActionsSpecificities ( ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
post_addItem ( ) | ||
post_purgeItem ( ) | ||
pre_deleteItem ( ) | ||
prepareInputForAdd ( $input ) | ||
showAddFormForItem ( CommonDBTM $item, $withtemplate = '', $options = [] ) : boolean | ||
showForDocument ( Document $doc ) : nothing | Show items links to a document | |
showForItem ( CommonDBTM $item, $withtemplate = '' ) | Show documents associated to an item | |
showListForItem ( CommonDBTM $item, $withtemplate = '', $options = [] ) | ||
showSimpleAddForItem ( CommonDBTM $item, $withtemplate = '', $colspan = 1 ) |
static public cloneItem ( $itemtype, $oldid, $newid, $newitemtype = '' ) | ||
$itemtype | itemtype of the item | |
$oldid | ID of the item to clone | |
$newid | ID of the item cloned | |
$newitemtype | itemtype of the new item (= $itemtype if empty) (default '') |
static public countForDocument ( Document $item ) | ||
$item | Document | Document object |
static public countForItem ( CommonDBTM $item ) | ||
$item | CommonDBTM | CommonDBTM object |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public getRelationMassiveActionsPeerForSubForm ( MassiveAction $ma ) | ||
$ma | MassiveAction |
static public getRelationMassiveActionsSpecificities ( ) |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public showAddFormForItem ( CommonDBTM $item, $withtemplate = '', $options = [] ) : boolean | ||
$item | CommonDBTM | |
$withtemplate | (default '') | |
$options | array | |
Résultat | boolean |
static public showForDocument ( Document $doc ) : nothing | ||
$doc | Document | Document object |
Résultat | nothing | (HTML display) |
static public showForItem ( CommonDBTM $item, $withtemplate = '' ) | ||
$item | CommonDBTM | CommonDBTM object for which associated documents must be displayed |
$withtemplate | (default '') |
static public showListForItem ( CommonDBTM $item, $withtemplate = '', $options = [] ) | ||
$item | CommonDBTM | |
$withtemplate | (default '') | |
$options | array |
static public showSimpleAddForItem ( CommonDBTM $item, $withtemplate = '', $colspan = 1 ) | ||
$item | CommonDBTM | |
$withtemplate | (default '') | |
$colspan |