MDL-35415 completely remove add activity in settings (MDL-22732)
[moodle.git] / course / format / scorm / lib.php
CommitLineData
7d2a0492 1<?php
2// This file is part of Moodle - http://moodle.org/
3//
4// Moodle is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
17/**
18 * This file contains general functions for the course format SCORM
19 *
20 * @since 2.0
21 * @package moodlecore
22 * @copyright 2009 Sam Hemelryk
23 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24 */
25
26/**
27 * The string that is used to describe a section of the course
28 * e.g. Topic, Week...
29 *
30 * @return string
31 */
32function callback_scorm_definition() {
33 return get_string('scorm');
34}
35
7d2a0492 36/**
37 * Toogle display of course contents (sections, activities)
38 *
39 * @return bool
40 */
41function callback_scorm_display_content() {
42 return false;
43}
44
aa6c1ced 45