Differences Between: [Versions 400 and 402] [Versions 400 and 403]
(no description)
File Size: | 147 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ToolSettings:: (3 methods):
__construct()
get()
set()
Class: ToolSettings - X-Ref
Class to implement the Tool Settings service__construct($source, $endpoint, $simple = true) X-Ref |
Class constructor. param: object $source The object to which the settings apply (ResourceLink, Context or ToolConsumer) param: string $endpoint Service endpoint param: boolean $simple True if the simple media type is to be used (optional, default is true) |
get($mode = self::MODE_CURRENT_LEVEL) X-Ref |
Get the tool settings. return: mixed The array of settings if successful, otherwise false param: int $mode Mode for request (optional, default is current level only) |
set($settings) X-Ref |
Set the tool settings. return: HTTPMessage HTTP object containing request and response details param: array $settings An associative array of settings (optional, default is null) |