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