Commit b28ad86a authored by Tim Hunt's avatar Tim Hunt
Browse files

MDL-47494 gapselect: Add missing defined('MOODLE_INTERNAL') || die();

parent 9df0480d
......@@ -25,6 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Elements embedded in question text editing form definition.
*
......
......@@ -25,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/question/type/gapselect/edit_form_base.php');
......
......@@ -25,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/question/type/gapselect/questionbase.php');
......
......@@ -26,6 +26,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Represents embedded element in question text question. Parent of drag and drop and select from
* drop down list and ?others?
......
......@@ -25,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->libdir . '/questionlib.php');
require_once($CFG->dirroot . '/question/engine/lib.php');
require_once($CFG->dirroot . '/question/format/xml/format.php');
......
......@@ -15,7 +15,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Question type class for the embedded element in question text question types.
*
......@@ -26,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->libdir . '/questionlib.php');
require_once($CFG->dirroot . '/question/engine/lib.php');
require_once($CFG->dirroot . '/question/format/xml/format.php');
......
......@@ -25,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/question/type/gapselect/rendererbase.php');
......
......@@ -25,6 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Generates the output for question types where the question includes embedded interactive elements in the
* question text.
......
......@@ -25,6 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Test helper class for the select missing words question type.
*
......
......@@ -15,7 +15,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Unit tests for the select missing words question definition class.
*
......@@ -25,6 +24,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/question/engine/simpletest/helpers.php');
require_once($CFG->dirroot . '/question/type/gapselect/simpletest/helper.php');
......
......@@ -25,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/question/engine/simpletest/helpers.php');
require_once($CFG->dirroot . '/question/type/gapselect/simpletest/helper.php');
......
......@@ -26,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/question/engine/simpletest/helpers.php');
require_once($CFG->dirroot . '/question/type/gapselect/simpletest/helper.php');
......
......@@ -24,5 +24,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2011020100;
$plugin->requires = 2011011200;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment