mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00

The previous behaviour delegates the responsability of overwriting the 3 public methods to the child classes, now the field type or moodleform field is guessed earlier in the execution flow. Other changes introduced here: - Fix wrong moodleform detection when there is a form in the page but the field we are dealing with is not inside it. - Updating the last week feature files to these new step definitions. - Some coding style changes.
42 lines
1.4 KiB
PHP
42 lines
1.4 KiB
PHP
<?php
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* Silly behat_form_select extension.
|
|
*
|
|
* @package core_form
|
|
* @category test
|
|
* @copyright 2013 David Monllaó
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
// NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php.
|
|
|
|
require_once(__DIR__ . '/behat_form_select.php');
|
|
|
|
/**
|
|
* Allows interaction with fmodvisible form fields.
|
|
*
|
|
* Plain behat_form_select extension as is the same
|
|
* kind of field.
|
|
*
|
|
* @package core_form
|
|
* @category test
|
|
* @copyright 2013 David Monllaó
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
class behat_form_modvisible extends behat_form_select {
|
|
}
|