Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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
 * Completion Progress block.
19
 *
20
 * @package    block_completion_progress
21
 * @copyright  2016 Michael de Raadt
22
 * @copyright  2021 Jonathon Fowler <fowlerj@usq.edu.au>
23
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
 */
25
 
26
namespace block_completion_progress;
27
 
28
/**
29
 * Completion Progress defaults.
30
 *
31
 * @package    block_completion_progress
32
 * @copyright  2016 Michael de Raadt
33
 * @copyright  2021 Jonathon Fowler <fowlerj@usq.edu.au>
34
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35
 */
36
abstract class defaults {
37
    /**
38
     * Default number of cells per row in wrap mode.
39
     */
40
    const WRAPAFTER = 16;
41
 
42
    /**
43
     * Default presentation mode for long bars: squeeze, scroll, or wrap.
44
     */
45
    const LONGBARS = 'squeeze';
46
 
47
    /**
48
     * Default course name (long/short) to show on Dashboard pages.
49
     */
50
    const COURSENAMETOSHOW = 'shortname';
51
 
52
    /**
53
     * Default display of inactive students on the overview page.
54
     */
55
    const SHOWINACTIVE = 0;
56
 
57
    /**
58
     * Default display of student 'last in course' time on overview page.
59
     */
60
    const SHOWLASTINCOURSE = 1;
61
 
62
    /**
63
     * Default forcing the display of status icons in bar cells.
64
     */
65
    const FORCEICONSINBAR = 0;
66
 
67
    /**
68
     * Default display of status icons in bar cells.
69
     */
70
    const PROGRESSBARICONS = 0;
71
 
72
    /**
73
     * Default cell sort order mode: orderbytime or orderbycourse.
74
     */
75
    const ORDERBY = 'orderbytime';
76
 
77
    /**
78
     * Default display of progress percentage in block.
79
     */
80
    const SHOWPERCENTAGE = 0;
81
 
82
    /**
83
     * Default choice of activites included: activitycompletion or selectedactivities.
84
     */
85
    const ACTIVITIESINCLUDED = 'activitycompletion';
86
}