Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311]

Step definition to generate database fixtures for learning plan system.

Copyright: 2016 Issam Taboubi <issam.taboubi@umontreal.ca>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 129 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class


Class: behat_tool_lp  - X-Ref

Step definition for learning plan system.

click_on_edit_menu_of_the_row($nodetext, $rowname)   X-Ref
Click on an entry in the edit menu.

param: string $nodetext
param: string $rowname

select_of_the_competency_tree($competencyname)   X-Ref
Click on competency in the tree.

param: string $competencyname

resolve_page_instance_url(string $page, string $identifier)   X-Ref
Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'.

Recognised page names are:
| pagetype            | name meaning | description                  |
| Course competencies | Course name  | The course competencies page |

param: string $page identifies which type of page this is, e.g. 'Course competencies'.
param: string $identifier identifies the particular page, e.g. 'C1'.
return: moodle_url the corresponding URL.

get_exact_named_selectors()   X-Ref
Return a list of the exact named selectors for the component.

return: behat_component_named_selector[]