Example #1
0
 /**
  * Creates new ticket with this staff user as the author.
  * WARNING: Data is not sent to Kayako unless you explicitly call create() on this method's result.
  *
  * @param kyDepartment $department Department where the ticket will be created.
  * @param string $contents Contents of the first post.
  * @param string $subject Subject of the ticket.
  * @return kyTicket
  */
 public function newTicket(kyDepartment $department, $contents, $subject)
 {
     return kyTicket::createNew($department, $this, $contents, $subject);
 }