Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 267... Línea 267...
267
     *
267
     *
268
     * @param string $alt The alt text to use for the icon
268
     * @param string $alt The alt text to use for the icon
269
     * @param array $attributes html attributes
269
     * @param array $attributes html attributes
270
     * @return pix_icon
270
     * @return pix_icon
271
     */
271
     */
272
    public function get_icon($alt, array $attributes = null) {
272
    public function get_icon($alt, ?array $attributes = null) {
273
        return new pix_icon('i/grades', $alt, 'moodle', $attributes);
273
        return new pix_icon('i/grades', $alt, 'moodle', $attributes);
274
    }
274
    }
275
}
275
}