프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dohistory | From CommonDBTM | ||
$items_id | |||
$itemtype | From CommonDBChild | ||
$rightname |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$forward_entity_to |
메소드 | 설명 | |
---|---|---|
addLevelToDo ( Ticket $ticket, $slalevels_id ) : execution | Add a level to do for a ticket | |
cleanDBonPurge ( ) | ||
computeDate ( $start_date, $additional_delay ) : due | Get date based on a slt | |
computeExecutionDate ( $start_date, $slalevels_id, $additional_delay ) : execution | Get execution date of a sla level | |
defineTabs ( $options = [] ) | ||
deleteLevelsToDo ( Ticket $ticket ) : execution | Add a level to do for a ticket | |
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) : boolean | ||
getActiveTimeBetween ( $start, $end ) : timestamp | Get active time between to date time for the active calendar | |
getFromDB ( $ID ) | ||
getSLTTime ( ) : resolution | Get computed resolution time | |
getSearchOptions ( ) | ||
getSltData ( $condition ) | Get SLT datas by condition | |
getSltDataForTicket ( $tickets_id, $type ) | Get SLT data by type and ticket | |
getSltFieldNames ( $type ) : array | Get SLT table fields | |
getSltTypeDropdown ( $options ) | Get SLT types dropdown | |
getSltTypeName ( type $type ) : string | Get SLT types name | |
getSltTypes ( ) : array | Get SLT types | |
getSpecificValueToDisplay ( $field, $values, array $options = [] ) | ||
getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) : string | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | Time to own | |
post_getEmpty ( ) | ||
prepareInputForAdd ( $input ) | ||
prepareInputForUpdate ( $input ) | ||
setTicketCalendar ( $calendars_id ) | Define calendar of the ticket using the SLT when using this calendar as slt-s calendar | |
showForSla ( SLA $sla ) : boolean | Print the HTML array for SLTs linked to a SLA | |
showForm ( $ID, $options = [] ) : boolean | Print the sla form | |
showSltForTicket ( Ticket $ticket, $type, $tt, $canupdate ) | Show SLT for ticket |
public addLevelToDo ( Ticket $ticket, $slalevels_id ) : execution | ||
$ticket | Ticket | Ticket object |
$slalevels_id | ||
리턴 | execution | date time (NULL if sla not exists) |
public computeDate ( $start_date, $additional_delay ) : due | ||
$start_date | datetime start date | |
$additional_delay | integer additional delay to add or substract (for waiting time) (default 0) | |
리턴 | due | date time (NULL if sla not exists) |
public computeExecutionDate ( $start_date, $slalevels_id, $additional_delay ) : execution | ||
$start_date | datetime start date | |
$slalevels_id | integer sla level id | |
$additional_delay | integer additional delay to add or substract (for waiting time) (default 0) | |
리턴 | execution | date time (NULL if sla not exists) |
static public deleteLevelsToDo ( Ticket $ticket ) : execution | ||
$ticket | Ticket | Ticket object |
리턴 | execution | date time (NULL if sla not exists) |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) : boolean | ||
$item | CommonGLPI | CommonGLPI item |
$tabnum | (default 1) | |
$withtemplate | (default 0) | |
리턴 | boolean |
public getActiveTimeBetween ( $start, $end ) : timestamp | ||
$start | datetime begin | |
$end | datetime end | |
리턴 | timestamp | of delay |
public getSLTTime ( ) : resolution | ||
리턴 | resolution | time |
public getSltDataForTicket ( $tickets_id, $type ) | ||
$tickets_id | ||
$type |
static public getSltFieldNames ( $type ) : array | ||
$type | ||
리턴 | array |
static public getSltTypeDropdown ( $options ) | ||
$options |
static public getSltTypeName ( type $type ) : string | ||
$type | type | |
리턴 | string | name |
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 |
public setTicketCalendar ( $calendars_id ) | ||
$calendars_id | calendars_id of the ticket |
static public showForSla ( SLA $sla ) : boolean | ||
$sla | SLA | |
리턴 | boolean |
public showSltForTicket ( Ticket $ticket, $type, $tt, $canupdate ) | ||
$ticket | Ticket | Ticket item |
$type | ||
$tt | ||
$canupdate |