dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbx\dbxContact\dbxContactTicket Class Reference

Public Member Functions

 openCount ()

Static Public Member Functions

static statuses ()
static priorities ()
static normalizeStatus (string $status, string $fallback='open')
static normalizePriority (string $priority, string $fallback='normal')
static ticket ($db, int $ticketId)
static userOwns (array $ticket, int $uid)
static messages ($db, int $ticketId, bool $includeInternal=false)
static ensureInitialMessage ($db, array $ticket)
static addMessage ($db, int $ticketId, array $data)
static touch ($db, int $ticketId, array $values=array())
static statusLabel (string $status)
static priorityLabel (string $priority)

Public Attributes

const DD_TICKET = 'dbxContact|contactRequest'
const DD_MESSAGE = 'dbxContact|contactMessage'

Detailed Description

Definition at line 4 of file dbxContactTicket.class.php.

Member Function Documentation

◆ addMessage()

dbx\dbxContact\dbxContactTicket::addMessage ( $db,
int $ticketId,
array $data )
static

Definition at line 107 of file dbxContactTicket.class.php.

References $db, and if.

Referenced by dbx\dbxContact\dbxContactForm\run().

◆ ensureInitialMessage()

dbx\dbxContact\dbxContactTicket::ensureInitialMessage ( $db,
array $ticket )
static

Definition at line 83 of file dbxContactTicket.class.php.

References $db.

◆ messages()

dbx\dbxContact\dbxContactTicket::messages ( $db,
int $ticketId,
bool $includeInternal = false )
static

Definition at line 58 of file dbxContactTicket.class.php.

References $db, and if.

◆ normalizePriority()

dbx\dbxContact\dbxContactTicket::normalizePriority ( string $priority,
string $fallback = 'normal' )
static

Definition at line 42 of file dbxContactTicket.class.php.

References priorities().

◆ normalizeStatus()

dbx\dbxContact\dbxContactTicket::normalizeStatus ( string $status,
string $fallback = 'open' )
static

Definition at line 38 of file dbxContactTicket.class.php.

References statuses().

◆ openCount()

dbx\dbxContact\dbxContactTicket::openCount ( )

Definition at line 28 of file dbxContactTicket.class.php.

References $db.

◆ priorities()

dbx\dbxContact\dbxContactTicket::priorities ( )
static

Definition at line 19 of file dbxContactTicket.class.php.

Referenced by normalizePriority(), and priorityLabel().

◆ priorityLabel()

dbx\dbxContact\dbxContactTicket::priorityLabel ( string $priority)
static

Definition at line 146 of file dbxContactTicket.class.php.

References priorities().

◆ statuses()

dbx\dbxContact\dbxContactTicket::statuses ( )
static

Definition at line 9 of file dbxContactTicket.class.php.

Referenced by normalizeStatus(), and statusLabel().

◆ statusLabel()

dbx\dbxContact\dbxContactTicket::statusLabel ( string $status)
static

Definition at line 141 of file dbxContactTicket.class.php.

References statuses().

◆ ticket()

dbx\dbxContact\dbxContactTicket::ticket ( $db,
int $ticketId )
static

Definition at line 46 of file dbxContactTicket.class.php.

References $db, and if.

◆ touch()

dbx\dbxContact\dbxContactTicket::touch ( $db,
int $ticketId,
array $values = array() )
static

Definition at line 133 of file dbxContactTicket.class.php.

References $db, and if.

Referenced by dbx\dbxContact\dbxContactForm\run().

◆ userOwns()

dbx\dbxContact\dbxContactTicket::userOwns ( array $ticket,
int $uid )
static

Definition at line 54 of file dbxContactTicket.class.php.

Member Data Documentation

◆ DD_MESSAGE

const dbx\dbxContact\dbxContactTicket::DD_MESSAGE = 'dbxContact|contactMessage'

Definition at line 7 of file dbxContactTicket.class.php.

◆ DD_TICKET

const dbx\dbxContact\dbxContactTicket::DD_TICKET = 'dbxContact|contactRequest'

Definition at line 6 of file dbxContactTicket.class.php.


The documentation for this class was generated from the following file: