\CGClientTickets\RepositoryTicketListQuery

This class generates a ticket list based on various criteria.

It is used for the tickets tab in the admin interface, and possibly the frontend user ticket list interface.

Summary

Methods
Properties
Constants
__construct()
execute()
$owner
$alert_group
$unread_by
$e_key1
$e_key2
$e_key3
$status
$priority
$limit
$offset
UNREADBY_ANY
UNREADBY_ADMIN
UNREADBY_OWNER
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

UNREADBY_ANY

UNREADBY_ANY

UNREADBY_ADMIN

UNREADBY_ADMIN

UNREADBY_OWNER

UNREADBY_OWNER

Properties

$owner

$owner : int

Query tickets with the specified owner. A positive integer is expected, representing an FEU uid.

Type

int

$alert_group

$alert_group : int[]|int

Query tickets with the specified alert group or groups. Either an array of integers, or an integer. Values must be negative integers representing CMSMS admin group ids.

Type

int[]|int

$unread_by

$unread_by : string

Query tickets that have messages that are unread by somebody. Possible values are:

self::UNREADBY_ANY - Unread by anybody<br/>
self::UNREADBY_ADMIN - Unread by an admin<br/>
self::UNREADBY_OWNER - Unread by the ticket owner.

Type

string

$e_key1

$e_key1 : string

Query tickets with the specified e_key1 value.

Type

string

$e_key2

$e_key2 : string

Query tickets with the specified e_key2 value. Note, the e_key1 value must also be specified.

Type

string

$e_key3

$e_key3 : string

Query tickets with the specified e_key3 value. Note, the e_key2 value must also be specified.

Type

string

$status

$status : string

Query tickets with the specified status. Possible values are:

ticket::STATUS_OPEN<br/>
ticket::STATUS_CLOSED<br/>
ticket::STATUS_EXPIRED

Type

string

$priority

$priority : string

Query tickets with the specified priority. Possible values are:

ticket::PRIORITY_HIGH<br/>
ticket::PRIORITY_NORMAL<br/>
ticket::PRIORITY_LOW

Type

string

$limit

$limit : int

The maximum number of records to return in one resultset.

Type

int

$offset

$offset : int

The start offset of records to return.

Type

int

Methods

__construct()

__construct(array $parms)

Constructor

Parameters

array $parms

An associative array of the initial properties for this object.