/sources/tickets.php

Description
Functions
get_ticket_forum_id (line 31)

Get the forum ID for a given ticket type and member, taking the ticket_member_forums and ticket_type_forums options into account.

  • return: Forum ID (NULL: not found)
?AUTO_LINK get_ticket_forum_id ([?AUTO_LINK $member = NULL], [?integer $ticket_type = NULL], [boolean $create = false], [boolean $silent_error_handling = false])
  • ?AUTO_LINK $member: The member ID (NULL: no member)
  • ?integer $ticket_type: The ticket type (NULL: all ticket types)
  • boolean $create: Create the forum if it's missing
  • boolean $silent_error_handling: Whether to skip showing errors, returning NULL instead
is_ticket_forum (line 79)

Returns whether the given forum ID is for a ticket forum (subforum of the root ticket forum).

  • return: Whether the given forum is a ticket forum
boolean is_ticket_forum (AUTO_LINK $forum_id)
  • AUTO_LINK $forum_id: The forum ID

Documentation generated on Sun, 02 Jan 2011 23:27:04 +0000 by phpDocumentor 1.4.3