프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$auto_message_on_action | From CommonDBTM | ||
$log_history_add | |||
$log_history_delete | |||
$log_history_update |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | boolean |
public canCreateItem ( ) : boolean | ||
리턴 | boolean |
public canDeleteItem ( ) : boolean | ||
리턴 | boolean |
public canUpdateItem ( ) : boolean | ||
리턴 | boolean |
static public computeValidationStatus ( CommonITILObject $item ) : validation | ||
$item | CommonITILObject | CommonITILObject |
리턴 | 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) | |
리턴 | 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 |
리턴 | 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) | |
리턴 | an | array |
static public getAllValidationStatusArray ( ) : an | ||
리턴 | an | array |
static public getCanValidationStatusArray ( ) : an | ||
리턴 | an | array |
static public getGroupUserHaveRights ( array $options = [] ) : array | ||
$options | array | array possible: groups_id right entity |
리턴 | 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 | |
리턴 | 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 |