Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401]

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[]