Function __global->get_ticket_posts
Definitions
sources/tickets2.php
- Get the posts from a given ticket, and also return the IDs of the forum and topic containing it. The return value is the same as that of get_forum_topic_posts(), except in error conditions.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$ticket_id | string | required parameter | N/A | N/A | The ticket ID |
$forum | ?AUTO_LINK | Null | N/A | N/A | Return location for the forum ID (null: don't collect) |
$topic_id | ?AUTO_LINK | Null | N/A | N/A | Return location for the topic ID (null: don't collect) |
$total_ticket_posts | ?integer | Null | N/A | N/A | Return total number of posts in the ticket (null: don't collect) |
$start | integer | 0 | N/A | N/A | Start offset in pagination |
$max | ?integer | Null | N/A | N/A | Max per page in pagination (null: no limit) |
Return
- The array of maps (Each map is: title, message, member, date) (null: no such ticket)
- Type: ?mixed
- Set: N/A
- Range: N/A