Lines Matching refs:class
28 class FetcherSvg extends IFetcherLocalImage
304 * Suppress the attributes (by default id, style and class, data-name)
306 $attributeConfToDelete = SiteConfig::getConfValue(FetcherSvg::CONF_OPTIMIZATION_ATTRIBUTES_TO_DELETE, "id, style, class, data-name");
310 if (in_array($value, ["style", "class", "id"]) && $this->getRequestedPreserveStyleOrDefault()) {
311 // we preserve the style, we preserve the class
381 * The facebook icon has a class cls-1 with an opacity of 0
382 * that leaks to the tumblr icon that has also a cls-1 class
575 $files[] = ClassUtility::getClassPath(FetcherSvg::class);
577 LogUtility::internalError("Unable to add the FetchImageSvg class as dependency. Error: {$e->getMessage()}");
580 $files[] = ClassUtility::getClassPath(XmlDocument::class);
582 LogUtility::internalError("Unable to add the XmlDocument class as dependency. Error: {$e->getMessage()}");
1345 $class = $this->getRequestedClass();
1346 $documentElement->addClass($class);
1348 // no class
1350 // add class with svg type
1354 // Add a class on each path for easy styling
1527 * This is used to add a name and class to the svg to make selection more easy
1587 throw new ExceptionNotFound("No class was set");