Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 42... Línea 42...
42
     * @param int $courseid       course id.
42
     * @param int $courseid       course id.
43
     * @param array $currentusers List of currently selected users.
43
     * @param array $currentusers List of currently selected users.
44
     *
44
     *
45
     * @return output\user_button the user select button.
45
     * @return output\user_button the user select button.
46
     */
46
     */
47
    public static function init_js($courseid, array $currentusers = null) {
47
    public static function init_js($courseid, ?array $currentusers = null) {
48
        global $PAGE;
48
        global $PAGE;
Línea 49... Línea 49...
49
 
49
 
50
        // Load the strings for js.
50
        // Load the strings for js.
51
        $PAGE->requires->strings_for_js(array(
51
        $PAGE->requires->strings_for_js(array(