Esempio n. 1
0
 /**
  * Sets default status, priority and type for newly created tickets.
  *
  * @param int $status_id Default ticket status identifier.
  * @param int $priority_id Default ticket priority identifier.
  * @param int $type_id Default ticket type identifier.
  * @param bool $auto_create_user True to automatically create user if none is provided as creator. False otherwise.
  */
 public static function setDefaults($status_id, $priority_id, $type_id, $auto_create_user = true)
 {
     self::$default_status_id = $status_id;
     self::$default_priority_id = $priority_id;
     self::$default_type_id = $type_id;
     self::$auto_create_user = $auto_create_user;
 }