__construct()
__get()
__set()
__toString()
buildData()
checkRequiredAPIFields()
create()
createNew()
createNewAuto()
delete()
get()
getAPIFields()
getAll()
getAttachments()
getAvailableFilterMethods()
getAvailableOrderMethods()
getController()
getCreationMode()
getCreationTime()
getCreationType()
getCreatorType()
getCustomField()
getCustomFieldGroups()
getCustomFieldValue()
getCustomFields()
getDepartment()
getDepartmentId()
getDisplayId()
getEmail()
getEscalationRuleId()
getFirstPost()
getFlagType()
getFullName()
getIPAddress()
getId()
getIsEscalated()
getLastActivity()
getLastReplier()
getLastStaffReply()
getLastUserReply()
getNextReplyDue()
getNotes()
getOwnerStaff()
getOwnerStaffId()
getOwnerStaffName()
getPosts()
getPriority()
getPriorityId()
getReplies()
getRequiredAPIFields()
getResolutionDue()
getSLAPlanId()
getStatistics()
getStatus()
getStatusId()
getSubject()
getTags()
getTemplateGroupId()
getTemplateGroupName()
getTimeTracks()
getType()
getTypeId()
getUser()
getUserId()
getUserOrganization()
getUserOrganizationId()
getUserOrganizationName()
getWatchers()
getWorkflows()
isNew()
isReadOnly()
newNote()
newPost()
newTimeTrack()
refresh()
save()
search()
setContents()
setCreationType()
setCreator()
setCreatorAuto()
setCustomFieldValue()
setCustomFieldValuesFromPOST()
setDefaults()
setDepartment()
setDepartmentId()
setEmail()
setFullName()
setIgnoreAutoResponder()
setOwnerStaff()
setOwnerStaffId()
setPriority()
setPriorityId()
setReadOnly()
setStaff()
setStaffId()
setStatus()
setStatusId()
setSubject()
setTemplateGroup()
setTemplateGroupId()
setTemplateGroupName()
setType()
setTypeId()
setUser()
setUserId()
toString()
update()
updateCustomFields()
buildDataBool()
buildDataList()
buildDataNumeric()
buildDataString()
getRESTClient()
loadCustomFieldGroups()
parseData()
createNewGeneric()
initAPIFieldsAccessors()
initFields()
$_filter_methods
$_order_methods
$contents
$controller
$creation_mode
$creation_time
$creation_type
$creator
$custom_field_group_class
$custom_field_groups
$custom_fields
$department_id
$display_id
$escalation_rule_id
$flag_type
$full_name
$id
$ignore_auto_responder
$ip_address
$is_escalated
$last_activity
$last_replier
$last_staff_reply
$last_user_reply
$next_reply_due
$object_id_field
$object_xml_name
$owner_staff_id
$owner_staff_name
$priority_id
$read_only
$replies
$resolution_due
$sla_plan_id
$staff_id
$status_id
$subject
$tags
$template_group_id
$template_group_name
$type_id
$user_id
$user_organization_id
$user_organization_name
$watchers
$workflows
$_api_fields
$attachments
$auto_create_user
$default_priority_id
$default_status_id
$default_type_id
$department
$notes
$owner_staff
$posts
$priority
$staff
$statistics
$status
$time_tracks
$type
$user
$user_organization
CREATION_MODE_API
CREATION_MODE_EMAIL
CREATION_MODE_SITEBADGE
CREATION_MODE_STAFFCP
CREATION_MODE_SUPPORTCENTER
CREATION_TYPE_DEFAULT
CREATION_TYPE_PHONE
CREATOR_AUTO
CREATOR_CLIENT
CREATOR_STAFF
CREATOR_USER
FILES_DATA_NAME
FLAG_BLUE
FLAG_GREEN
FLAG_NONE
FLAG_ORANGE
FLAG_PURPLE
FLAG_RED
FLAG_YELLOW
SEARCH_AUTHOR
SEARCH_CONTENTS
SEARCH_CREATOR_EMAIL
SEARCH_EMAIL
SEARCH_FULL_NAME
SEARCH_NOTES
SEARCH_TAGS
SEARCH_TICKET_ID
SEARCH_USER
SEARCH_USER_GROUP
SEARCH_USER_ORGANIZATION
Kayako Ticket object.
All objects interacting with Kayako REST API should extend this class and define: * Kayako controller * XML element name holding object's data in REST response
| author | Tomasz Sawicki (https://github.com/Furgas) |
|---|---|
| link | http://wiki.kayako.com/display/DEV/REST+-+Ticket |
| since | Kayako version 4.40.1079 |
| package | Object\Ticket |
__construct(array $data)
| inherited_from | \kyObjectBase::__construct() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::__construct() |
arrayObject data from XML response converted into array.
__get(string $api_field_name) : mixed
Returns API field value based on API field name used by Kayako.
| link | http://wiki.kayako.com/display/DEV/REST+API+Reference |
|---|---|
| inherited_from | \kyObjectBase::__get() |
| inherited_from | \kyObjectWithCustomFieldsBase::__get() |
stringAPI field name.
mixed__set(string $api_field_name, mixed $value) : mixed
Sets API field value based on API field name used by Kayako.
| link | http://wiki.kayako.com/display/DEV/REST+API+Reference |
|---|---|
| inherited_from | \kyObjectBase::__set() |
| inherited_from | \kyObjectWithCustomFieldsBase::__set() |
stringAPI field name.
mixedAPI field value.
mixed__toString() : string
Calls toString() method to get the object description.
| inherited_from | \kyObjectBase::__toString() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::__toString() |
stringbuildData(bool $create) : array
Values must be set in format accepted by REST API.
boolIndicates if the result will be used to create (true) or update (false) an object.
arraycheckRequiredAPIFields(bool $create, bool $throw_exception) : string[] | bool
| inherited_from | \kyObjectBase::checkRequiredAPIFields() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::checkRequiredAPIFields() |
boolTrue when object will be created. False when object will be updated.
boolTrue to throw an exception on missing fields. False to return list of missing fields or true when there are none.
\kyException |
When there are missing field values and $throw_exception is true. |
|---|
string[]boolList of missing API fields or true when there are none.create() : \kyObjectBase
| inherited_from | \kyObjectBase::create() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::create() |
\BadMethodCallException |
|
|---|---|
\kyException |
createNew(\kyDepartment $department, \kyUser | \kyStaff $creator, string $contents, string $subject) : \kyTicket
WARNING: Data is not sent to Kayako unless you explicitly call create() on this method's result.
stringContents of the first post.
stringSubject of new ticket.
createNewAuto(\kyDepartment $department, string $creator_full_name, string $creator_email, string $contents, string $subject) : \kyTicket
WARNING: Data is not sent to Kayako unless you explicitly call create() on this method's result.
stringCreator full name.
stringCreator e-mail.
stringContents of the first post.
stringSubject of new ticket.
delete()
| inherited_from | \kyObjectBase::delete() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::delete() |
get(int | array $id) : \kyObjectBase
| inherited_from | \kyObjectBase::get() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::get() |
intarrayObject identifier or list of identifiers (ex. ticket identifier and ticket post identifier when fetching TicketPost).
getAPIFields() : string[]
Format of returned array:
array(
'' => Field description. (getter: , setter: ),
...repeat...
)
| inherited_from | \kyObjectBase::getAPIFields() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::getAPIFields() |
string[]getAll(\kyDepartment | \kyResultSet $departments, array | \kyResultSet | \kyTicketStatus $ticket_statuses, array | \kyResultSet | \kyStaff $owner_staffs, array | \kyResultSet | \kyUser $users) : \kyResultSet
You must provide at least one department identifier.
\InvalidArgumentException |
|---|
getAttachments(bool $reload) : \kyTicketAttachment[]
Result is cached till the end of script.
boolTrue to reload attachments from server.
getAvailableFilterMethods(bool $filter_names_only) : array
Optionaly you can return get method names used to filter objects.
| inherited_from | \kyObjectBase::getAvailableFilterMethods() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::getAvailableFilterMethods() |
boolTrue (default) to return array('filterByXXX', 'filterByYYY', ...). False to return array('filterByXXX' => 'getXXX', 'filterByYYY' => 'YYY', ...).
arraygetAvailableOrderMethods(bool $order_names_only) : array
Optionaly you can return get method names used to order objects.
| inherited_from | \kyObjectBase::getAvailableOrderMethods() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::getAvailableOrderMethods() |
boolTrue (default) to return array('orderByXXX', 'orderByYYY', ...). False to return array('orderByXXX' => 'getXXX', 'orderByYYY' => 'YYY', ...).
arraygetController() : string
| inherited_from | \kyObjectBase::getController() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::getController() |
stringgetCreationMode() : int
| see | \global\kyTicket::CREATION_MODE |
|---|---|
| filterBy | |
| orderBy |
intgetCreationTime(string $format) : string
| see | \global\http://www.php.net/manual/en/function.date.php |
|---|---|
| filterBy | |
| orderBy |
stringOutput format of the date. If null the format set in client configuration is used.
stringgetCreationType() : int
| see | \global\kyTicket::CREATION_TYPE |
|---|---|
| filterBy | |
| orderBy |
intgetCreatorType() : int
| see | \global\kyTicket::CREATOR |
|---|---|
| filterBy | |
| orderBy |
intgetCustomField(string $name) : \kyCustomField
| inherited_from | \kyObjectWithCustomFieldsBase::getCustomField() |
|---|
stringField name.
getCustomFieldGroups(bool $reload) : \kyResultSet
Result is cached until the end of script.
| inherited_from | \kyObjectWithCustomFieldsBase::getCustomFieldGroups() |
|---|
boolTrue to reload data from server. False to use the cached value (if present).
getCustomFieldValue(string $name) : mixed
Value interpretation depends on field type.
| inherited_from | \kyObjectWithCustomFieldsBase::getCustomFieldValue() |
|---|
stringField name.
mixedgetCustomFields(bool $reload) : \kyResultSet
Result is cached until the end of script.
| inherited_from | \kyObjectWithCustomFieldsBase::getCustomFields() |
|---|
boolTrue to reload data from server. False to use the cached value (if present).
getDepartment(bool $reload) : \kyDepartment
Result is cached until the end of script.
boolTrue to reload data from server. False to use the cached value (if present).
getDepartmentId() : int
| filterBy | |
|---|---|
| orderBy |
intgetDisplayId() : string
| filterBy | |
|---|---|
| orderBy |
stringgetEmail() : string
| filterBy | |
|---|---|
| orderBy |
stringgetEscalationRuleId() : int
| filterBy |
|---|
intgetFlagType() : int
| see | \global\kyTicket::FLAG |
|---|---|
| filterBy | |
| orderBy |
intgetFullName() : string
| filterBy | |
|---|---|
| orderBy |
stringgetIPAddress() : string
| filterBy | |
|---|---|
| orderBy |
stringgetId(bool $complete) : int | array
ticket identifier and ticket post identifier in case of TicketPost).
boolTrue to return complete list of identifiers as needed by API to identify the object.
intarray
getIsEscalated() : bool
| filterBy | |
|---|---|
| orderBy |
boolgetLastActivity(string $format) : string
| see | \global\http://www.php.net/manual/en/function.date.php |
|---|---|
| filterBy | |
| orderBy |
stringOutput format of the date. If null the format set in client configuration is used.
stringgetLastReplier() : string
| filterBy | |
|---|---|
| orderBy |
stringgetLastStaffReply(string $format) : string
| see | \global\http://www.php.net/manual/en/function.date.php |
|---|---|
| filterBy | |
| orderBy |
stringOutput format of the date. If null the format set in client configuration is used.
stringgetLastUserReply(string $format) : string
| see | \global\http://www.php.net/manual/en/function.date.php |
|---|---|
| filterBy | |
| orderBy |
stringOutput format of the date. If null the format set in client configuration is used.
stringgetNextReplyDue(string $format) : string
| see | \global\http://www.php.net/manual/en/function.date.php |
|---|---|
| filterBy | |
| orderBy |
stringOutput format of the date. If null the format set in client configuration is used.
stringgetNotes(bool $reload) : \kyResultSet
Result is cached till the end of script.
boolTrue to reload notes from server.
getOwnerStaff(bool $reload) : \kyStaff
Result is cached until the end of script.
boolTrue to reload data from server. False to use the cached value (if present).
getOwnerStaffId() : int
| filterBy | |
|---|---|
| orderBy |
intgetOwnerStaffName() : string
| filterBy | |
|---|---|
| orderBy |
stringgetPosts(bool $reload) : \kyResultSet
Result is cached till the end of script.
boolTrue to reload posts from server.
getPriority(bool $reload) : \kyTicketPriority
Result is cached until the end of script.
boolTrue to reload data from server. False to use the cached value (if present).
getPriorityId() : int
| filterBy | |
|---|---|
| orderBy |
intgetReplies() : int
| filterBy | |
|---|---|
| orderBy |
intgetRequiredAPIFields(bool $create) : string[]
| inherited_from | \kyObjectBase::getRequiredAPIFields() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::getRequiredAPIFields() |
boolTrue when object will be created. False when object will be updated.
string[]getResolutionDue(string $format) : string
| see | \global\http://www.php.net/manual/en/function.date.php |
|---|---|
| filterBy | |
| orderBy |
stringOutput format of the date. If null the format set in client configuration is used.
stringgetSLAPlanId() : int
| filterBy |
|---|
intgetStatistics(bool $reload) : array
Result is cached. Format or result:
array(
'departments' => array( //statistics per department (if there are no tickets in department then there will be no record with its id here)
=> array( //tickets assigned to department with this id
'last_activity' => ,
'total_items' => ,
'total_unresolved_items' => ,
'ticket_statuses' => array( //statistics per ticket status in the department
=> array(
'last_activity' => ,
'total_items' =>
),
...
),
'ticket_types' => array( //statistics per ticket type in the department
=> array(
'last_activity' => ,
'total_items' => ,
'total_unresolved_items' => ,
),
...,
'unknown' => array( //in Kayako 4.01.204 all ticket types will be unknown because of a bug (http://dev.kayako.com/browse/SWIFT-1465)
...
)
)
'ticket_owners' => array( //statistics per ticket owner in the department
=> array(
'last_activity' => ,
'total_items' => ,
'total_unresolved_items' => ,
),
...,
'unassigned' => array( //tickets not assigned to any staff
...
)
)
),
...,
'unknown' => array( //tickets in Trash
...
)
),
'ticket_statuses' => array( //statistics per ticket status in all departments
=> array(
'last_activity' => ,
'total_items' =>
),
...
),
'ticket_owners' => array( //statistics per ticket owner in all departments
=> array(
'last_activity' => ,
'total_items' => ,
'total_unresolved_items' => ,
),
...,
'unassigned' => array( //tickets not assigned to any staff no matter what department
...
)
)
)
boolTrue to reload statistics data from server.
arraygetStatus(bool $reload) : \kyTicketStatus
Result is cached until the end of script.
boolTrue to reload data from server. False to use the cached value (if present).
getStatusId() : int
| filterBy | |
|---|---|
| orderBy |
intgetSubject() : string
| filterBy | |
|---|---|
| orderBy |
stringgetTags() : string
| filterBy |
|---|
stringgetTemplateGroupId() : int
| filterBy | |
|---|---|
| orderBy |
intgetTemplateGroupName() : string
| filterBy | |
|---|---|
| orderBy |
stringgetTimeTracks(bool $reload) : \kyResultSet
Result is cached till the end of script.
boolTrue to reload time tracks from server.
getType(bool $reload) : \kyTicketType
Result is cached until the end of script.
boolTrue to reload data from server. False to use the cached value (if present).
getTypeId() : int
| filterBy | |
|---|---|
| orderBy |
intgetUser(bool $reload) : \kyUser
Result is cached until the end of script.
boolTrue to reload data from server. False to use the cached value (if present).
getUserId() : int
| filterBy | |
|---|---|
| orderBy |
intgetUserOrganization(bool $reload) : \kyUserOrganization
Result is cached until the end of script.
boolTrue to reload data from server. False to use the cached value (if present).
getUserOrganizationId() : int
| filterBy | |
|---|---|
| orderBy |
intgetUserOrganizationName() : string
| filterBy | |
|---|---|
| orderBy |
stringgetWatchers() : array
Format of returned array:
array( array( 'staff_id' =>, 'name' => ' ' ), ... )
arraygetWorkflows() : array
Format of returned array:
array( array( 'id' =>, 'title' => ' ' ), ... )
arrayisNew() : bool
| inherited_from | \kyObjectBase::isNew() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::isNew() |
boolisReadOnly() : bool
| inherited_from | \kyObjectBase::isReadOnly() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::isReadOnly() |
boolnewNote(\kyStaff $creator, string $contents) : \kyTicketNote
WARNING: Data is not sent to Kayako unless you explicitly call create() on this method's result.
stringContents of new note.
newPost(\kyUser | \kyStaff $creator, string $contents) : \kyTicketPost
WARNING: Data is not sent to Kayako unless you explicitly call create() on this method's result.
stringContents of new post.
newTimeTrack(string $contents, \kyStaff $staff, string $time_worked, string $time_billable) : \kyTicketTimeTrack
WARNING: Data is not sent to Kayako unless you explicitly call create() on this method's result.
stringNote contents.
stringWorked time formatted as hh:mm. Work date will be set to current datetime.
stringBillable time formatted as hh:mm. Bill date will be set to current datetime.
refresh() : \kyObjectBase
| inherited_from | \kyObjectBase::refresh() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::refresh() |
\BadMethodCallException |
|---|
save() : \kyObjectBase
| inherited_from | \kyObjectBase::save() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::save() |
search(string $query, array $areas) : \kyResultSet
Example: kyTicket::search("something", array(kyTicket::SEARCH_CONTENTS, kyTicket::SEARCH_NOTES));
stringWhat to search for.
arrayList of areas where to search for as array with kyTicket::SEARCH_ constants.
setCreator(int | \kyUser | \kyStaff $creator, int $type) : \kyTicket
setCreatorAuto(string $full_name, string $email) : \kyTicket
stringFull name of the creator.
stringE-mail of the creator.
setCustomFieldValue(string $name, mixed $value) : \kyObjectWithCustomFieldsBase
| inherited_from | \kyObjectWithCustomFieldsBase::setCustomFieldValue() |
|---|
stringField name.
mixedNew field value.
setCustomFieldValuesFromPOST()
setDefaults(int $status_id, int $priority_id, int $type_id, bool $auto_create_user)
intDefault ticket status identifier.
intDefault ticket priority identifier.
intDefault ticket type identifier.
boolTrue to automatically create user if none is provided as creator. False otherwise.
setDepartmentId(int $department_id) : \kyTicket
setIgnoreAutoResponder(bool $ignore_auto_responder) : \kyTicket
boolWhether to ignore (disable) autoresponder e-mail.
setOwnerStaffId(int $owner_staff_id) : \kyTicket
setReadOnly(bool $read_only) : bool
| inherited_from | \kyObjectBase::setReadOnly() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::setReadOnly() |
boolRead only flag.
boolsetStaffId(int $staff_id) : \kyTicketPost
setTemplateGroup(string | int $template_group_id_or_name) : \kyTicket
You can provide name or identifier.
stringintTemplate group name or identifier.
setTemplateGroupId(int $template_group_id) : \kyTicket
Resets template group name.
intTemplate group identifier.
setTemplateGroupName(string $template_group_name) : \kyTicket
Resets template group identifier.
stringTemplate group name.
toString() : string
stringupdate() : \kyObjectBase
| see | \global\kyObjectBase::update() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::update() |
\BadMethodCallException |
|
|---|---|
\kyException |
updateCustomFields() : \kyObjectWithCustomFieldsBase
| inherited_from | \kyObjectWithCustomFieldsBase::updateCustomFields() |
|---|
buildDataBool(array $data, string $field_name, mixed $field_value)
| inherited_from | \kyObjectBase::buildDataBool() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::buildDataBool() |
arrayData used to create or update the object.
stringField name.
mixedField value.
buildDataList(array $data, string $field_name, mixed $field_value)
| inherited_from | \kyObjectBase::buildDataList() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::buildDataList() |
arrayData used to create or update the object.
stringField name.
mixedField value.
buildDataNumeric(array $data, string $field_name, mixed $field_value)
| inherited_from | \kyObjectBase::buildDataNumeric() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::buildDataNumeric() |
arrayData used to create or update the object.
stringField name.
mixedField value.
buildDataString(array $data, string $field_name, mixed $field_value)
| inherited_from | \kyObjectBase::buildDataString() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::buildDataString() |
arrayData used to create or update the object.
stringField name.
mixedField value.
getRESTClient() : \kyRESTClientInterface
| inherited_from | \kyObjectBase::getRESTClient() |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::getRESTClient() |
loadCustomFieldGroups(bool $reload) : \kyResultSet
Result is cached until the end of script.
| inherited_from | \kyObjectWithCustomFieldsBase::loadCustomFieldGroups() |
|---|
boolTrue to reload data from server. False to use the cached value (if present).
\BadMethodCallException |
|---|
parseData(array $data)
arrayObject data from XML response.
createNewGeneric(\kyDepartment $department, string $contents, string $subject) : \kyTicket
stringContents of the first post.
stringSubject of new ticket.
initAPIFieldsAccessors()
Scans protected and private properties of called class, searches for
| apiField | [name=field name]{0,1} [alias=field name alias]* [accessor=setter/getter name]{0,1} [getter=getter name]{0,1} [setter=setter name]{0,1} [required_create=true if field if required when creating object]{0,1} [required_update=true if field if required when udpating object]{0,1} [required=true if field if required when creating or updating object]{0,1} and builds API field list with property name, description, setter and getter method names, and required flags. |
|---|---|
| see | \global\kyObjectBase::$_api_fields |
| inherited_from | \kyObjectBase::initAPIFieldsAccessors() |
| inherited_from | \kyObjectWithCustomFieldsBase::initAPIFieldsAccessors() |
initFields()
| inherited_from | \kyObjectWithCustomFieldsBase::initFields() |
|---|
$_filter_methods : string[]
Format:
array(
'
| inherited_from | \kyObjectBase::$$_filter_methods |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::$$_filter_methods |
$_order_methods : string[]
Format:
array(
'
| inherited_from | \kyObjectBase::$$_order_methods |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::$$_order_methods |
$contents : string
| apiField | required_create=true |
|---|
$controller : string
Override in descending classes.
$creation_mode : int
| see | \global\kyTicket::CREATION_MODE |
|---|---|
| apiField |
$creation_time : int
| apiField |
|---|
$creation_type : int
| see | \global\kyTicket::CREATION_TYPE |
|---|---|
| apiField | alias=type |
$creator : int
| see | \global\kyTicket::CREATOR |
|---|---|
| apiField |
$custom_field_group_class : string
$custom_field_groups : \kyResultSet
| inherited_from | \kyObjectWithCustomFieldsBase::$$custom_field_groups |
|---|
$custom_fields : array
| inherited_from | \kyObjectWithCustomFieldsBase::$$custom_fields |
|---|
$department_id : int
| apiField | required_create=true |
|---|
$display_id : string
| apiField |
|---|
$email : string
| apiField | required_create=true |
|---|
$escalation_rule_id : int
| apiField |
|---|
$flag_type : int
| see | \global\kyTicket::FLAG |
|---|---|
| apiField |
$full_name : int
| apiField | required_create=true |
|---|
$id : int
| apiField |
|---|
$ignore_auto_responder : bool
| apiField |
|---|
$ip_address : string
| apiField |
|---|
$is_escalated : bool
| apiField |
|---|
$last_activity : int
| apiField |
|---|
$last_replier : string
| apiField |
|---|
$last_staff_reply : int
| apiField |
|---|
$last_user_reply : int
| apiField |
|---|
$next_reply_due : int
| apiField |
|---|
$object_id_field : string
$object_xml_name : string
Override in descending classes.
$owner_staff_id : int
| apiField |
|---|
$owner_staff_name : string
| apiField |
|---|
$priority_id : int
| apiField | required_create=true |
|---|
$read_only : bool
Override in descending classes.
| inherited_from | \kyObjectBase::$$read_only |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::$$read_only |
$replies : int
| apiField |
|---|
$resolution_due : int
| apiField |
|---|
$sla_plan_id : int
| apiField |
|---|
$staff_id : int
| apiField |
|---|
$status_id : int
| apiField | required_create=true |
|---|
$subject : string
| apiField | required_create=true |
|---|
$template_group_id : int
| apiField | getter=getTemplateGroupId setter=setTemplateGroup alias=templategroup |
|---|
$template_group_name : string
| apiField | getter=getTemplateGroupName setter=setTemplateGroup |
|---|
$type_id : int
| apiField | required_create=true |
|---|
$user_id : int
| apiField |
|---|
$user_organization_id : int
| apiField |
|---|
$user_organization_name : string
| apiField |
|---|
$watchers : array
| apiField |
|---|
$workflows : array
| apiField |
|---|
$_api_fields : array
Format:
array(
'
| inherited_from | \kyObjectBase::$$_api_fields |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::$$_api_fields |
$auto_create_user : int
| see | \global\kyTicket::setDefaults |
|---|
$default_priority_id : int
| see | \global\kyTicket::setDefaults |
|---|
$default_status_id : int
| see | \global\kyTicket::setDefaults |
|---|
$default_type_id : int
| see | \global\kyTicket::setDefaults |
|---|
$statistics : array
CREATION_MODE_API
CREATION_MODE_EMAIL
CREATION_MODE_SITEBADGE
CREATION_MODE_STAFFCP
CREATION_MODE_SUPPORTCENTER
CREATION_TYPE_DEFAULT
CREATION_TYPE_PHONE
CREATOR_AUTO
CREATOR_CLIENT
CREATOR_STAFF
CREATOR_USER
FILES_DATA_NAME : string
| inherited_from | \kyObjectBase::FILES_DATA_NAME |
|---|---|
| inherited_from | \kyObjectWithCustomFieldsBase::FILES_DATA_NAME |
FLAG_BLUE
FLAG_GREEN
FLAG_NONE
FLAG_ORANGE
FLAG_PURPLE
FLAG_RED
FLAG_YELLOW
SEARCH_AUTHOR : string
SEARCH_CONTENTS : string
SEARCH_CREATOR_EMAIL : string
SEARCH_EMAIL : string
SEARCH_FULL_NAME : string
SEARCH_NOTES : string
SEARCH_TAGS : string
SEARCH_TICKET_ID : string
SEARCH_USER : string
SEARCH_USER_GROUP : string
SEARCH_USER_ORGANIZATION : string