Property | Type | Description | |
---|---|---|---|
$auto_message_on_action | From CommonDBTM | ||
$log_history_add | |||
$log_history_delete | |||
$log_history_update |
Method | Description | |
---|---|---|
alertValidation ( CommonITILObject $item, $type ) | ||
alreadyExists ( $items_id, $users_id ) : boolean | Check if validation already exists | |
canCreate ( ) | ||
canCreateItem ( ) : boolean | Is the current user have right to delete the current validation ? | |
canDeleteItem ( ) : boolean | Is the current user have right to delete the current validation ? | |
canUpdate ( ) | ||
canUpdateItem ( ) : boolean | Is the current user have right to update the current validation ? | |
canValidate ( $items_id ) | ||
canView ( ) | ||
computeValidationStatus ( CommonITILObject $item ) : validation | Compute the validation status | |
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
dropdownStatus ( $name, $options = [] ) : nothing | Dropdown of validation status | |
dropdownValidator ( array $options = [] ) : nothing | Dropdown of validator | |
getAllStatusArray ( $withmetaforsearch = false, $global = false ) : an | get the Ticket validation status list | |
getAllValidationStatusArray ( ) : an | Get the ITIL object all validation status list | |
getCanValidationStatusArray ( ) : an | Get the ITIL object can validation status list | |
getCreateRights ( ) | ||
getForbiddenStandardMassiveAction ( ) | ||
getGroupUserHaveRights ( array $options = [] ) : array | Get list of users from a group which have validation rights | |
getHistoryChangeWhenUpdateField ( $field ) | ||
getHistoryNameForItem ( CommonDBTM $item, $case ) | ||
getItilObjectItemType ( ) | rejected | |
getNumberToValidate ( $users_id ) | Get item validation demands count for a user | |
getNumberValidationForTicket ( $items_id ) | Get item validation demands count | |
getPurgeRights ( ) | ||
getRights ( $interface = 'central' ) | ||
getSearchOptions ( ) | ||
getSearchOptionsToAdd ( ) | ||
getSpecificValueToDisplay ( $field, $values, array $options = [] ) | ||
getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) | ||
getStatus ( $value ) | Get Ticket validation status Name | |
getStatusColor ( $value ) | Get Ticket validation status Color | |
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTicketStatusNumber ( $items_id, $status ) | Get the number of validations attached to an item having a specified status | |
getTypeName ( $nb ) | ||
getValidateRights ( ) | ||
getValidationStats ( $tID ) : statistics | Get the validation statistics | |
isAllValidationsHaveSameStatusForTicket ( $items_id ) | All validations requests for an item have the same status ? | |
post_addItem ( ) | ||
post_getEmpty ( ) | ||
post_updateItem ( $history = 1 ) | ||
prepareInputForAdd ( $input ) | ||
prepareInputForUpdate ( $input ) | ||
processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids ) | ||
showForm ( $ID, $options = [] ) | Print the validation form | |
showFormMassiveAction ( ) | Form for Followup on Massive action | |
showMassiveActionsSubForm ( MassiveAction $ma ) | ||
showSummary ( $item ) | Print the validation list into item |
static public alertValidation ( CommonITILObject $item, $type ) | ||
$item | CommonITILObject | CommonITILObject |
$type |
static public alreadyExists ( $items_id, $users_id ) : boolean | ||
$items_id | integer item ID | |
$users_id | integer user ID | |
return | boolean |
public canCreateItem ( ) : boolean | ||
return | boolean |
public canDeleteItem ( ) : boolean | ||
return | boolean |
public canUpdateItem ( ) : boolean | ||
return | boolean |
static public computeValidationStatus ( CommonITILObject $item ) : validation | ||
$item | CommonITILObject | CommonITILObject |
return | validation | status |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public dropdownStatus ( $name, $options = [] ) : nothing | ||
$name | select name | |
$options | array of possible options: - value : default value (default waiting) - all : boolean display all (default false) - global : for global validation (default false) - display : boolean display or get string ? (default true) | |
return | nothing | (display) |
static public dropdownValidator ( array $options = [] ) : nothing | ||
$options | array | array of options - name : select name - id : ID of object > 0 Update, < 0 New - entity : ID of entity - right : validation rights - groups_id : ID of group validator - users_id_validate : ID of user validator - applyto |
return | nothing | (display) |
static public getAllStatusArray ( $withmetaforsearch = false, $global = false ) : an | ||
$withmetaforsearch | boolean (false by default) | |
$global | boolean (true for global status, with "no validation" option) (false by default) | |
return | an | array |
static public getAllValidationStatusArray ( ) : an | ||
return | an | array |
static public getCanValidationStatusArray ( ) : an | ||
return | an | array |
static public getGroupUserHaveRights ( array $options = [] ) : array | ||
$options | array | array possible: groups_id right entity |
return | array |
public getHistoryNameForItem ( CommonDBTM $item, $case ) | ||
$item | CommonDBTM |
static public getNumberToValidate ( $users_id ) | ||
$users_id | integer User ID |
static public getNumberValidationForTicket ( $items_id ) | ||
$items_id | integer item ID |
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 |
static public getStatus ( $value ) | ||
$value | status ID |
static public getStatusColor ( $value ) | ||
$value | status ID |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public getTicketStatusNumber ( $items_id, $status ) | ||
$items_id | integer item ID | |
$status | status |
static public getValidationStats ( $tID ) : statistics | ||
$tID | tickets id | |
return | statistics | array |
static public isAllValidationsHaveSameStatusForTicket ( $items_id ) | ||
$items_id | integer item ID |
static public processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids ) | ||
$ma | MassiveAction | |
$item | CommonDBTM | |
$ids | array |
public showForm ( $ID, $options = [] ) | ||
$ID | integer ID of the item | |
$options | array options used |
static public showFormMassiveAction ( ) |
static public showMassiveActionsSubForm ( MassiveAction $ma ) | ||
$ma | MassiveAction |
public showSummary ( $item ) | ||
$item | class |