Function __global->get_ticket_type
Definitions
sources/tickets2.php
- Get a map of properties for the given ticket type.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $ticket_type_id | ?AUTO_LINK | No | No | required parameter | N/A | N/A | The ticket type (null: fallback for malformed tickets) |
Returns
- Array of properties
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a map of properties for the given ticket type.
*
* @param ?AUTO_LINK $ticket_type_id The ticket type (null: fallback for malformed tickets)
* @return array Array of properties
*/
function get_ticket_type(?int $ticket_type_id) : array
* Get a map of properties for the given ticket type.
*
* @param ?AUTO_LINK $ticket_type_id The ticket type (null: fallback for malformed tickets)
* @return array Array of properties
*/
function get_ticket_type(?int $ticket_type_id) : array
