mod_lti/tool_proxy

Provides an interface for a tool proxy in the Moodle server.

Source:
Since:
  • 3.1
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Methods

(inner) create(args) → {Promise}

Source:

Create a tool proxy in Moodle.

The promise will fail if the proxy cannot be created, so you must handle the fail result.

See mod/lti/classes/external.php create_tool_proxy_parameters

Parameters:
Name Type Description
args Object

Tool proxy properties

Returns:

jQuery Deferred object

Type
Promise

(inner) delete(id) → {Promise}

Source:

Delete a tool proxy from Moodle.

Parameters:
Name Type Description
id Integer

Tool proxy ID

Returns:

jQuery Deferred object

Type
Promise

(inner) query(args) → {Promise}

Source:

Get a list of tool types from Moodle for the given search args.

See also: mod/lti/classes/external.php get_tool_types_parameters()

Parameters:
Name Type Description
args Object

Search parameters

Returns:

jQuery Deferred object

Type
Promise