@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | "skos:related", "skos:historyNote", "skosmos:memberOf", |
| 29 | 29 | "skosmos:memberOfArray"); |
| 30 | 30 | |
| 31 | - public function __construct($resource, $globalPlugins=array()) |
|
| 31 | + public function __construct($resource, $globalPlugins = array()) |
|
| 32 | 32 | { |
| 33 | 33 | $this->resource = $resource; |
| 34 | 34 | $plugins = $this->resource->allLiterals('skosmos:usePlugin'); |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | $paramValue = $paramLiteral->getValue(); |
| 57 | 57 | $paramLang = $paramLiteral->getLang(); |
| 58 | 58 | if ($paramLang) { |
| 59 | - $paramName .= '_' . $paramLang; |
|
| 59 | + $paramName .= '_'.$paramLang; |
|
| 60 | 60 | } |
| 61 | 61 | $this->pluginParameters[$pluginName][$paramName] = $paramValue; |
| 62 | 62 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | $langs = $this->getLanguages(); |
| 84 | 84 | $deflang = reset($langs); // picking the first one from the list with reset since the keys are not numeric |
| 85 | 85 | if (sizeof($langs) > 1) { |
| 86 | - trigger_error("Default language for vocabulary '" . $this->getShortName() . "' unknown, choosing '$deflang'.", E_USER_WARNING); |
|
| 86 | + trigger_error("Default language for vocabulary '".$this->getShortName()."' unknown, choosing '$deflang'.", E_USER_WARNING); |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | return $deflang; |