Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 258... Línea 258...
258
     *
258
     *
259
     * @param string $alt The alt text to use for the icon
259
     * @param string $alt The alt text to use for the icon
260
     * @param array $attributes html attributes
260
     * @param array $attributes html attributes
261
     * @return pix_icon
261
     * @return pix_icon
262
     */
262
     */
263
    public function get_icon($alt, array $attributes = null) {
263
    public function get_icon($alt, ?array $attributes = null) {
264
        return new pix_icon('monologo', $alt, "mod_{$this->module}", $attributes);
264
        return new pix_icon('monologo', $alt, "mod_{$this->module}", $attributes);
265
    }
265
    }
266
}
266
}