Function __global->check_ticket_access
Definitions
sources/tickets.php
- Checks the ticket ID is valid, and there is access for the current member to view it. Bombs out if there's a problem.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $ticket_id | string | No | No | required parameter | N/A | N/A | The ticket ID to check |
Returns
- The ticket owner
- Type: MEMBER
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Checks the ticket ID is valid, and there is access for the current member to view it. Bombs out if there's a problem.
*
* @param string $ticket_id The ticket ID to check
* @return MEMBER The ticket owner
*/
function check_ticket_access(string $ticket_id) : int
* Checks the ticket ID is valid, and there is access for the current member to view it. Bombs out if there's a problem.
*
* @param string $ticket_id The ticket ID to check
* @return MEMBER The ticket owner
*/
function check_ticket_access(string $ticket_id) : int

