The following hooks are provided for Support Tools related events.
Executes as an announcement is being added.
| Variable | Type | Notes |
|---|---|---|
| announcementid | int | |
| date | string | |
| title | string | |
| announcement | string | |
| published | bool |
No response supported
<?php
add_hook('AnnouncementAdd', 1, function($vars) {
// Perform hook code here...
});Executes as an announcement is being added.
| Variable | Type | Notes |
|---|---|---|
| announcementid | int | |
| date | string | |
| title | string | |
| announcement | string | |
| published | bool |
No response supported
<?php
add_hook('AnnouncementEdit', 1, function($vars) {
// Perform hook code here...
});Executes when a file is being downloaded.
| Variable | Type | Notes |
|---|---|---|
| No input parameters for this hook point. |
No response supported
<?php
add_hook('FileDownload', 1, function($vars) {
// Perform hook code here...
});Executes as a network issue is being crated.
| Variable | Type | Notes |
|---|---|---|
| id | int | |
| startdate | string | |
| enddate | string | |
| title | string | |
| description | string | |
| type | string | |
| server | int | |
| affecting | string | |
| priority | string | |
| status | string | |
| lastupdate | string |
No response supported
<?php
add_hook('NetworkIssueAdd', 1, function($vars) {
// Perform hook code here...
});Executes as a network issue is being resolved.
| Variable | Type | Notes |
|---|---|---|
| id | int |
No response supported
<?php
add_hook('NetworkIssueClose', 1, function($vars) {
// Perform hook code here...
});Executes as a network issue is being deleted.
| Variable | Type | Notes |
|---|---|---|
| id | int |
No response supported
<?php
add_hook('NetworkIssueDelete', 1, function($vars) {
// Perform hook code here...
});Executes as a network issue is being edited.
| Variable | Type | Notes |
|---|---|---|
| id | int | |
| startdate | string | |
| enddate | string | |
| title | string | |
| description | string | |
| type | string | |
| server | int | |
| affecting | string | |
| priority | string | |
| status | string | |
| lastupdate | string |
No response supported
<?php
add_hook('NetworkIssueEdit', 1, function($vars) {
// Perform hook code here...
});Executes as a network issue is being re-opened.
| Variable | Type | Notes |
|---|---|---|
| id | int |
No response supported
<?php
add_hook('NetworkIssueReopen', 1, function($vars) {
// Perform hook code here...
});