| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
This file contains a class definition for the Tool Settings service
| Author: | Stephen Vickers |
| Copyright: | 2014 Vital Source Technologies http://vitalsource.com |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 138 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
toolsettings:: (4 methods):
__construct()
get_resources()
distinct_settings()
settings_to_json()
Class: toolsettings - X-Ref
A service implementing Tool Settings.| __construct() X-Ref |
| Class constructor. |
| get_resources() X-Ref |
| Get the resources for this service. return: array |
| distinct_settings(&$systemsettings, &$contextsettings, $linksettings) X-Ref |
| Get the distinct settings from each level by removing any duplicates from higher levels. param: array $systemsettings System level settings param: array $contextsettings Context level settings param: array $linksettings Link level settings |
| settings_to_json($settings, $simpleformat, $type, $resource) X-Ref |
| Get the JSON representation of the settings. param: array $settings Settings param: boolean $simpleformat <code>true</code> if simple JSON is to be returned param: string $type JSON-LD type param: \mod_lti\local\ltiservice\resource_base $resource Resource handling the request return: string |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |