PHP Class NotificationTargetCommonITILObject, glpi

Inheritance: extends NotificationTarget
ファイルを表示 Open project: glpi-project/glpi Class Usage Examples

Public Methods

Method Description
__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

Method Details

__construct() public method

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

getAdditionalTargets() public method

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

getDatasForObject() public method

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

getDatasForTemplate() public method

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

getFollowupAuthor() public method

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

getItemAuthorAddress() public method

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

getLinkedGroupByType() public method

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

getLinkedGroupSupervisorByType() public method

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

getLinkedGroupWithoutSupervisorByType() public method

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

getLinkedUserByType() public method

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

getOldAssignTechnicianAddress() public method

getRecipientAddress() public method

Get recipient
public getRecipientAddress ( )

getSpecificTargets() public method

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

getSupplierAddress() public method

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

getTags() public method

public getTags ( )

getTaskAssignGroup() public method

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

getTaskAssignUser() public method

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

getTaskAuthor() public method

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

getValidationApproverAddress() public method

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

getValidationRequesterAddress() public method

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