Function __global->ticket_exists
Definitions
sources/report_content.php
- Find if a particular support ticket ID exists.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $ticket_id | ID_TEXT | No | No | required parameter | N/A | N/A | Ticket ID |
| &$topic_id | ?AUTO_LINK | Yes | No | Null | N/A | N/A | Topic ID (null: ) |
Returns
- Whether it exists
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find if a particular support ticket ID exists.
*
* @param ID_TEXT $ticket_id Ticket ID
* @param ?AUTO_LINK $topic_id Topic ID (null: )
* @return boolean Whether it exists
*/
function ticket_exists(string $ticket_id, ?int &$topic_id = null) : bool
* Find if a particular support ticket ID exists.
*
* @param ID_TEXT $ticket_id Ticket ID
* @param ?AUTO_LINK $topic_id Topic ID (null: )
* @return boolean Whether it exists
*/
function ticket_exists(string $ticket_id, ?int &$topic_id = null) : bool

