Свойство | Тип | Описание | |
---|---|---|---|
$auto_message_on_action | From CommonDBTM |
Метод | Описание | |
---|---|---|
canEditAll ( ) | ||
canReadITILItem ( ) : boolean | can read the parent ITIL Object ? | |
canUpdateITILItem ( ) : boolean | can update the parent ITIL Object ? | |
canViewPrivates ( ) | ||
cleanDBonPurge ( ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
genericDisplayPlanningItem ( $itemtype, array $val, $who, $type = "", $complete ) : Nothing | Display a Planning Item | |
genericGetAlreadyPlannedInformation ( $itemtype, array $val ) : Already | Display a Planning Item | |
genericPopulatePlanning ( $itemtype, $options = [] ) : array | Populate the planning with planned tasks | |
getItem ( ) : object | Get the item associated with the current object. | |
getItilObjectItemType ( ) | ||
getRawName ( ) | ||
getSearchOptions ( ) | ||
getSearchOptionsToAdd ( ) | ||
getSpecificValueToDisplay ( $field, $values, array $options = [] ) | ||
getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) : string | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | Name of the type | |
post_addItem ( ) | ||
post_deleteFromDB ( ) | ||
post_getEmpty ( ) | ||
post_updateItem ( $history = 1 ) | ||
prepareInputForAdd ( $input ) | ||
prepareInputForUpdate ( $input ) | ||
showForm ( $ID, $options = [] ) | form for Task | |
showFormMassiveAction ( ) | Form for Ticket or Problem Task on Massive action | |
showInObjectSumnary ( CommonITILObject $item, $rand, $showprivate = false ) | ||
showSummary ( CommonITILObject $item ) | Show the current task sumnary | |
test_valid_date ( $input ) : boolean | Current dates are valid ? begin before end |
public canReadITILItem ( ) : boolean | ||
Результат | boolean |
public canUpdateITILItem ( ) : boolean | ||
Результат | boolean |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public genericDisplayPlanningItem ( $itemtype, array $val, $who, $type = "", $complete ) : Nothing | ||
$itemtype | itemtype | |
$val | array | Array of the item to display |
$who | ID of the user (0 if all) | |
$type | position of the item in the time block (in, through, begin or end) (default '') | |
$complete | complete display (more details) (default 0) | |
Результат | Nothing | (display function) |
static public genericGetAlreadyPlannedInformation ( $itemtype, array $val ) : Already | ||
$itemtype | itemtype | |
$val | array | Array of the item to display |
Результат | Already | planned information |
static public genericPopulatePlanning ( $itemtype, $options = [] ) : array | ||
$itemtype | itemtype | |
$options | array of options must contains : - who ID of the user (0 = undefined) - who_group ID of the group of users (0 = undefined) - begin Date - end Date - color - event_type_color - display_done_events (boolean) | |
Результат | array | of planning item |
static public getSpecificValueToDisplay ( $field, $values, array $options = [] ) | ||
$field | ||
$values | ||
$options | array | array |
static public getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) : string | ||
$field | ||
$name | (default '') | |
$values | (default '') | |
$options | array | array |
Результат | string |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public getTypeName ( $nb ) | ||
$nb | : number of item in the type (default 0) |
public showForm ( $ID, $options = [] ) | ||
$ID | Integer : Id of the task | |
$options | array - parent Object : the object |
public showFormMassiveAction ( ) |
public showInObjectSumnary ( CommonITILObject $item, $rand, $showprivate = false ) | ||
$item | CommonITILObject | CommonITILObject |
$rand | ||
$showprivate | (false by default) |
public showSummary ( CommonITILObject $item ) | ||
$item | CommonITILObject | CommonITILObject |
public test_valid_date ( $input ) : boolean | ||
$input | ||
Результат | boolean |