PHP Класс NotificationTargetCommonITILObject, glpi

Наследование: extends NotificationTarget
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $entity = '', $event = '', $object = null, $options = [] )
getAdditionalTargets ( $event = '' ) Get additionnals targets for ITIL objects
getDatasForObject ( CommonDBTM $item, array $options, $simple = false )
getDatasForTemplate ( $event, $options = [] ) Get all data needed for template processing
getFollowupAuthor ( $options = [] ) Get author related to the followup
getItemAuthorAddress ( ) Get the email of the item's user : Overloaded manual address used
getLinkedGroupByType ( $type ) Add linked group to the notified user list
getLinkedGroupSupervisorByType ( $type ) Add linked group supervisor to the notified user list
getLinkedGroupWithoutSupervisorByType ( $type ) Add linked group without supervisor to the notified user list
getLinkedUserByType ( $type ) Add linked users to the notified users list
getOldAssignTechnicianAddress ( )
getRecipientAddress ( ) Get recipient
getSpecificTargets ( $data, $options ) Get specifics targets for ITIL objects
getSupplierAddress ( $sendprivate = false ) Get supplier related to the ITIL object
getTags ( )
getTaskAssignGroup ( $options = [] ) Get group assigned to the task
getTaskAssignUser ( $options = [] ) Get author related to the task
getTaskAuthor ( $options = [] ) Get author related to the task
getValidationApproverAddress ( $options = [] ) Get approuver related to the ITIL object validation
getValidationRequesterAddress ( $options = [] ) Get requester related to the ITIL object validation

Описание методов

__construct() публичный Метод

public __construct ( $entity = '', $event = '', $object = null, $options = [] )
$entity (default '')
$event (default '')
$object (default null)
$options array

getAdditionalTargets() публичный Метод

Get additionnals targets for ITIL objects
public getAdditionalTargets ( $event = '' )
$event (default '')

getDatasForObject() публичный Метод

public getDatasForObject ( CommonDBTM $item, array $options, $simple = false )
$item CommonDBTM CommonDBTM object
$options array array
$simple (false by default)

getDatasForTemplate() публичный Метод

Get all data needed for template processing
public getDatasForTemplate ( $event, $options = [] )
$event
$options array

getFollowupAuthor() публичный Метод

Get author related to the followup
public getFollowupAuthor ( $options = [] )
$options array

getItemAuthorAddress() публичный Метод

Get the email of the item's user : Overloaded manual address used

getLinkedGroupByType() публичный Метод

Add linked group to the notified user list
public getLinkedGroupByType ( $type )
$type type of linked groups

getLinkedGroupSupervisorByType() публичный Метод

Add linked group supervisor to the notified user list
public getLinkedGroupSupervisorByType ( $type )
$type type of linked groups

getLinkedGroupWithoutSupervisorByType() публичный Метод

Add linked group without supervisor to the notified user list
public getLinkedGroupWithoutSupervisorByType ( $type )
$type type of linked groups

getLinkedUserByType() публичный Метод

Add linked users to the notified users list
public getLinkedUserByType ( $type )
$type type of linked users

getOldAssignTechnicianAddress() публичный Метод

getRecipientAddress() публичный Метод

Get recipient
public getRecipientAddress ( )

getSpecificTargets() публичный Метод

Get specifics targets for ITIL objects
public getSpecificTargets ( $data, $options )
$data array
$options array

getSupplierAddress() публичный Метод

Get supplier related to the ITIL object
public getSupplierAddress ( $sendprivate = false )
$sendprivate (false by default)

getTags() публичный Метод

public getTags ( )

getTaskAssignGroup() публичный Метод

Get group assigned to the task
public getTaskAssignGroup ( $options = [] )
$options array

getTaskAssignUser() публичный Метод

Get author related to the task
public getTaskAssignUser ( $options = [] )
$options array

getTaskAuthor() публичный Метод

Get author related to the task
public getTaskAuthor ( $options = [] )
$options array

getValidationApproverAddress() публичный Метод

Get approuver related to the ITIL object validation
public getValidationApproverAddress ( $options = [] )
$options array

getValidationRequesterAddress() публичный Метод

Get requester related to the ITIL object validation
public getValidationRequesterAddress ( $options = [] )
$options array