Differences Between: [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]
(no description)
File Size: | 98 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
behat_mod_lti_generator:: (3 methods):
get_creatable_entities()
get_tool_id()
get_lti_coursecategories_id()
Class: behat_mod_lti_generator - X-Ref
Define behat generator for mod_lti.get_creatable_entities() X-Ref |
Get list of entities for mod_lti behat tests. return: array[] List of entity definitions. |
get_tool_id(string $name) X-Ref |
Handles the switchid ['tool' => 'typeid'] for finding a tool by name. param: string $name the name of the tool. return: int the id of the tool type identified by the name $name. |
get_lti_coursecategories_id(string $idnumbers) X-Ref |
Handles the switchid ['lti_coursecategories' => 'lti_coursecategories'] for restricting a tool to certain categories. param: string $idnumbers a comma-separated string containing the course category id numbers, e.g. 'cata, catb, catc'. return: string a comma-separated string containing the course category ids. |