Function __global->ticket_add_post

Definitions

sources/tickets2.php

  • Add a new post to a ticket, or create a new ticket if a ticket with the given ID doesn't exist.It has the same return value as make_post_forum_topic().
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$ticket_id string required parameter N/A N/A The ticket ID (doesn't have to exist)
$ticket_type_id ?AUTO_LINK required parameter N/A N/A The ticket type (null: reply to ticket)
$title LONG_TEXT required parameter N/A N/A The post title
$post LONG_TEXT required parameter N/A N/A The post content in Comcode format
$staff_only boolean False N/A N/A Whether the reply is staff only (invisible to ticket owner, only on Conversr)
$member_id ?AUTO_LINK Null N/A N/A The member ID (null: current member)
$time_post ?TIME Null N/A N/A The post time (null: use current time)

Return

  • The ticket URL
  • Type: URLPATH
  • Set: N/A
  • Range: N/A