Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 137... Línea 137...
137
     *
137
     *
138
     * @param string $alt The alt text to use for the icon
138
     * @param string $alt The alt text to use for the icon
139
     * @param array $attributes html attributes
139
     * @param array $attributes html attributes
140
     * @return pix_icon
140
     * @return pix_icon
141
     */
141
     */
142
    public function get_icon($alt, array $attributes = null) {
142
    public function get_icon($alt, ?array $attributes = null) {
143
        return new pix_icon('i/user', $alt, 'moodle', $attributes);
143
        return new pix_icon('i/user', $alt, 'moodle', $attributes);
144
    }
144
    }
145
}
145
}