Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 25... Línea 25...
25
 * @package    core_question
25
 * @package    core_question
26
 * @copyright  2021 Catalyst IT Australia Pty Ltd
26
 * @copyright  2021 Catalyst IT Australia Pty Ltd
27
 * @author     Safat Shahin <safatshahin@catalyst-au.net>
27
 * @author     Safat Shahin <safatshahin@catalyst-au.net>
28
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
28
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
29
 */
29
 */
30
abstract class bulk_action_base {
30
abstract class bulk_action_base extends view_component {
Línea 31... Línea 31...
31
 
31
 
32
    /**
32
    /**
33
     * Title of the bulk action.
33
     * Title of the bulk action.
34
     * Every bulk action will have a string to show in the list.
34
     * Every bulk action will have a string to show in the list.
Línea 68... Línea 68...
68
    public function get_bulk_action_capabilities(): ?array {
68
    public function get_bulk_action_capabilities(): ?array {
69
        return null;
69
        return null;
70
    }
70
    }
Línea 71... Línea 71...
71
 
71
 
-
 
72
    /**
-
 
73
     * Override if you want to load your own javascript.
-
 
74
     *
-
 
75
     * @return void
-
 
76
     */
-
 
77
    public function initialise_javascript(): void {
-
 
78
 
-
 
79
    }
-
 
80
 
72
    /**
81
    /**
73
     * @deprecated since Moodle 4.0
82
     * @deprecated since Moodle 4.0
74
     */
83
     */
75
    public function get_bulk_action_key() {
84
    public function get_bulk_action_key() {
76
        throw new \coding_exception(__FUNCTION__ . '() has been removed.');
85
        throw new \coding_exception(__FUNCTION__ . '() has been removed.');