Skip to content

Support Tools

The following hooks are provided for Support Tools related events.

AnnouncementAdd

Executes as an announcement is being added.

Parameters

VariableTypeNotes
announcementidint
datestring
titlestring
announcementstring
publishedbool

Response

No response supported

Example Code

<?php
add_hook('AnnouncementAdd', 1, function($vars) {
    // Perform hook code here...
});

AnnouncementEdit

Executes as an announcement is being added.

Parameters

VariableTypeNotes
announcementidint
datestring
titlestring
announcementstring
publishedbool

Response

No response supported

Example Code

<?php
add_hook('AnnouncementEdit', 1, function($vars) {
    // Perform hook code here...
});

FileDownload

Executes when a file is being downloaded.

Parameters

VariableTypeNotes
No input parameters for this hook point.

Response

No response supported

Example Code

<?php
add_hook('FileDownload', 1, function($vars) {
    // Perform hook code here...
});

NetworkIssueAdd

Executes as a network issue is being crated.

Parameters

VariableTypeNotes
idint
startdatestring
enddatestring
titlestring
descriptionstring
typestring
serverint
affectingstring
prioritystring
statusstring
lastupdatestring

Response

No response supported

Example Code

<?php
add_hook('NetworkIssueAdd', 1, function($vars) {
    // Perform hook code here...
});

NetworkIssueClose

Executes as a network issue is being resolved.

Parameters

VariableTypeNotes
idint

Response

No response supported

Example Code

<?php
add_hook('NetworkIssueClose', 1, function($vars) {
    // Perform hook code here...
});

NetworkIssueDelete

Executes as a network issue is being deleted.

Parameters

VariableTypeNotes
idint

Response

No response supported

Example Code

<?php
add_hook('NetworkIssueDelete', 1, function($vars) {
    // Perform hook code here...
});

NetworkIssueEdit

Executes as a network issue is being edited.

Parameters

VariableTypeNotes
idint
startdatestring
enddatestring
titlestring
descriptionstring
typestring
serverint
affectingstring
prioritystring
statusstring
lastupdatestring

Response

No response supported

Example Code

<?php
add_hook('NetworkIssueEdit', 1, function($vars) {
    // Perform hook code here...
});

NetworkIssueReopen

Executes as a network issue is being re-opened.

Parameters

VariableTypeNotes
idint

Response

No response supported

Example Code

<?php
add_hook('NetworkIssueReopen', 1, function($vars) {
    // Perform hook code here...
});