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