Lines Matching refs:version

34      * @param string $qualifiedVersion - the bootstrap version separated by the stylesheet
39 $this->version = $bootstrapStyleSheetArray[0];
41 * In case the input is just the major version
43 switch ($this->version) {
45 $this->version = self::DEFAULT_BOOTSTRAP_4_VERSION;
48 $this->version = self::DEFAULT_BOOTSTRAP_5_VERSION;
70 * Stylesheet and Boostrap should have the same version
71 * This conf is a mix between the version and the stylesheet
85 private $version;
106 LogUtility::internalError("The bootstrap major version ($bootstrapMajorVersion) is not an integer, default taken");
113 * Utility function that returns the major version
115 * @return int - the major version
125 return $this->version;
264 $version = $this->getVersion();
274 if (!isset($bootstrapJsonMetas[$version])) {
275 throw new ExceptionRuntimeInternal("The bootstrap version ($version) could not be found in the file $bootstrapJsonFile");
277 $bootstrapMetas = $bootstrapJsonMetas[$version];
287 $path = WikiPath::createComboResource(":library:bootstrap:$version:$fileNameWithExtension");
392 * @return array - the stylesheet meta (file, url, ...) for the version
399 $version = $this->getVersion();
400 if (!isset($styleSheets[$version])) {
401 LogUtility::internalError("The bootstrap version ($version) could not be found");
404 $styleSheetsForVersion = $styleSheets[$version];
408 LogUtility::internalError("The bootstrap stylesheet ($styleSheetName) could not be found for the version ($version) in the distribution or custom configuration files");