Function __global->add_ticket_type

Definitions

sources/tickets2.php

  • Add a ticket type.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$ticket_type_name SHORT_TEXT required parameter N/A N/A The ticket type name
$guest_emails_mandatory BINARY 0 N/A N/A Whether guest e-mail addresses are mandatory for new tickets
$search_faq BINARY 0 N/A N/A Whether the FAQ should be searched before submitting a new ticket

Return

  • The ticket type ID
  • Type: AUTO_LINK
  • Set: N/A
  • Range: N/A