Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 34... Línea 34...
34
 * @copyright  2012 Petr Skoda {@link http://skodak.org}
34
 * @copyright  2012 Petr Skoda {@link http://skodak.org}
35
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36
 */
36
 */
37
class mod_page_generator extends testing_module_generator {
37
class mod_page_generator extends testing_module_generator {
Línea 38... Línea 38...
38
 
38
 
39
    public function create_instance($record = null, array $options = null) {
39
    public function create_instance($record = null, ?array $options = null) {
40
        global $CFG;
40
        global $CFG;
Línea 41... Línea 41...
41
        require_once($CFG->dirroot . '/lib/resourcelib.php');
41
        require_once($CFG->dirroot . '/lib/resourcelib.php');