Метод | Описание | |
---|---|---|
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
getLocksQueryInfosByItemType ( $itemtype, $baseitemtype ) : an | Get infos to build an SQL query to get locks fields in a table | |
getMassiveActionsForItemtype ( array &$actions, $itemtype, $is_deleted, CommonDBTM $checkitem = NULL ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | ||
processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $baseitem, array $ids ) | ||
showForItem ( CommonDBTM $item ) | Display form to unlock fields and links | |
showMassiveActionsSubForm ( MassiveAction $ma ) |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI | CommonGLPI object |
$tabnum | (default 1) | |
$withtemplate | (default 0) |
static public getLocksQueryInfosByItemType ( $itemtype, $baseitemtype ) : an | ||
$itemtype | itemtype of the item to look for locked fields | |
$baseitemtype | itemtype of the based item | |
Результат | an | array which contains necessary informations to build the SQL query |
static public getMassiveActionsForItemtype ( array &$actions, $itemtype, $is_deleted, CommonDBTM $checkitem = NULL ) | ||
$actions | array | |
$checkitem | CommonDBTM |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI | CommonGLPI object |
$withtemplate | (default 0) |
static public processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $baseitem, array $ids ) | ||
$ma | MassiveAction | |
$baseitem | CommonDBTM | |
$ids | array |
static public showForItem ( CommonDBTM $item ) | ||
$item | CommonDBTM | the source item |
static public showMassiveActionsSubForm ( MassiveAction $ma ) | ||
$ma | MassiveAction |