Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 17... Línea 17...
17
 * Allow the user to search for groups within the singleview report.
17
 * Allow the user to search for groups within the singleview report.
18
 *
18
 *
19
 * @module    gradereport_singleview/group
19
 * @module    gradereport_singleview/group
20
 * @copyright 2023 Mathew May <mathew.solutions>
20
 * @copyright 2023 Mathew May <mathew.solutions>
21
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
21
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
-
 
22
 * @deprecated since Moodle 4.5 - please use core_course/actionbar/group instead.
-
 
23
 * @todo       Final deprecation in Moodle 6.0. See MDL-82116.
22
 */
24
 */
23
import GroupSearch from 'core_group/comboboxsearch/group';
25
import GroupSearch from 'core_group/comboboxsearch/group';
24
import Url from 'core/url';
26
import Url from 'core/url';
Línea 25... Línea 27...
25
 
27
 
Línea 33... Línea 35...
33
     * Construct the class.
35
     * Construct the class.
34
     *
36
     *
35
     * @param {string} item The page type we are currently on.
37
     * @param {string} item The page type we are currently on.
36
     */
38
     */
37
    constructor(item) {
39
    constructor(item) {
-
 
40
        window.console.warn(
-
 
41
            'The gradereport_singleview/group module has been deprecated since Moodle 4.5.' +
-
 
42
            ' Please use core_course/actionbar/group instead.',
-
 
43
        );
-
 
44
 
38
        super();
45
        super();
39
        this.item = item;
46
        this.item = item;
Línea 40... Línea 47...
40
 
47
 
41
        // Define our standard lookups.
48
        // Define our standard lookups.