This file deals with some of the items required by the helpdesk, but are primarily supporting functions; they're not the principle functions that drive the admin area.
It is subject to given parameters (start, number of items, order/sorting), parses the language strings and adds the parameter information provided.
Parameter: $start
Expected type: int
Number of items into the log to start (for pagination). If nothing is given, fall back to 0, i.e the first log item.
Parameter: $items_per_page
Expected type: int
Default: 10
How many items to load. Default to 10 items.
Parameter: $sort
Expected type: string
Default: 'la.log_time'
SQL clause to state which column(s) to order the data by. By default it orders by log_time.
Parameter: $order
Expected type: string
Default: 'DESC'
SQL clause to state whether the order is ascending or descending. Defaults to descending.
Parameter: $clause
Expected type: string
Default: ''
An SQL fragment that forms a WHERE clause to limit log items, e.g. to load a specific ticket or specific member's log items.
This function gets the total number of items logged in the helpdesk log, for the purposes of establishing the number of pages there should be in the page-index.
Parameter: $clause
Expected type: string
Default: ''
An SQL fragment that forms a WHERE clause to limit log items, e.g. to load a specific ticket or specific member's log items.
Perform all the operations required for SimpleDesk to safely start operations inside the admin panel.
Parameter: $admin_areas
Expected type: array
The full admin area array from SMF's Admin.php.
Add the SimpleDesk option into the Core Features page inside the admin panel.
Parameter: $core_features
Expected type: array
The array of Core Features as provided by ManageSettings.php
All of the parameters are the normal variables provided by ManagePermissions.php to its integration hook.
Parameter: $permissionGroups
Expected type: array
The array of groups of permissions
Parameter: $permissionList
Expected type: array
The master list of permissions themselves
Parameter: $leftPermissionGroups
Expected type: array
The list of permission groups that are displayed on the left hand side of the screen in Classic Mode
Parameter: $hiddenPermissions
Expected type: array
A list of permissions to be hidden in the event of features being disabled
Parameter: $relabelPermissions
Expected type: array
A list of permissions to be renamed depending on features being active
Page created in 0.018 seconds with 13 queries.