Troubletickets
Copyright © by C. Buelter, C. Keramitsis, A. Kiefer (kennziffer.com) <buelter@kennziffer.com>Published under the Open Content License available from http://www.opencontent.org/opl.shtml
Table Of Contents
- 1. Troubletickets
- 1.1. Introduction
- 1.2. Features
- 1.3. Screenshots
- 1.4. Installation
- 1.5. Quickstart
- 1.6. FAQ
- 1.7. Configuration
- 1.8. Customization and Styling
- 1.9. Backend module
- 1.10. API
- 1.11. Yet, only a very basic API is implemented. You may get the data of a ticket, check for permissions (does the currently logged in user have permissions to view / edit a ticket) and link to a ticket.
- 1.12. Here's an example which should get you started:
- 1.13. // example: creating a link to a ticket using ke_troubletickets api// and taking troubletickets permission into account
- 1.14. $ticketUid = 123;if (t3lib_extMgm::isLoaded('ke_troubletickets')) {require_once(t3lib_extMgm::extPath('ke_troubletickets').'lib/class.tx_ketroubletickets_lib.php');$this->troubleticketsLib = t3lib_div::makeInstance('tx_ketroubletickets_lib');$ticketData = $this->troubleticketsLib->getTicketData($ticketUid);if ($this->troubleticketsLib->checkPermissionForTicket($ticketData['uid'])) {$url = $this->troubleticketsLib->getLinkToTicket_URL($ticketData);$content .= '<a href="' . $url . '">' . $ticketData['title'] . '</a>';} else {$content = 'No permission.';}}
- 1.15. Known problems
- 1.16. Planned features
- 1.17. Changelog
This document is related to version 1.2.1 of the extension ke_troubletickets.