@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | * Returns information (as a graph) for one or more concept URIs |
454 | 454 | * @param mixed $uris concept URI (string) or array of URIs |
455 | 455 | * @param string|null $arrayClass the URI for thesaurus array class, or null if not used |
456 | - * @param \Vocabulary[]|null $vocabs vocabularies to target |
|
456 | + * @param Vocabulary[] $vocabs vocabularies to target |
|
457 | 457 | * @return \Concept[] |
458 | 458 | */ |
459 | 459 | public function queryConceptInfoGraph($uris, $arrayClass = null, $vocabs = array()) { |
@@ -673,7 +673,7 @@ discard block |
||
673 | 673 | |
674 | 674 | /** |
675 | 675 | * Generate a VALUES clause for limiting the targeted graphs. |
676 | - * @param Vocabulary[]|null $vocabs array of Vocabulary objects to target |
|
676 | + * @param Vocabulary[] $vocabs array of Vocabulary objects to target |
|
677 | 677 | * @return string VALUES clause, or "" if not necessary to limit |
678 | 678 | */ |
679 | 679 | protected function formatValuesGraph($vocabs) { |
@@ -853,6 +853,7 @@ discard block |
||
853 | 853 | * @param string $searchLang language code used for matching labels (null means any language) |
854 | 854 | * @param string[] $props properties to target e.g. array('skos:prefLabel','skos:altLabel') |
855 | 855 | * @param boolean $unique restrict results to unique concepts (default: false) |
856 | + * @param string $filterGraph |
|
856 | 857 | * @return string sparql query |
857 | 858 | */ |
858 | 859 | protected function generateConceptSearchQueryInner($term, $lang, $searchLang, $props, $unique, $filterGraph) |
@@ -1118,6 +1119,7 @@ discard block |
||
1118 | 1119 | /** |
1119 | 1120 | * Generates sparql query clauses used for creating the alphabetical index. |
1120 | 1121 | * @param string $letter the letter (or special class) to search for |
1122 | + * @param string $lang |
|
1121 | 1123 | * @return array of sparql query clause strings |
1122 | 1124 | */ |
1123 | 1125 | private function formatFilterConditions($letter, $lang) { |
@@ -79,10 +79,12 @@ |
||
79 | 79 | if ($sortable !== null) { |
80 | 80 | uksort($sortable, array($this, 'mycompare')); |
81 | 81 | foreach ($sortable as $prop => $vals) { |
82 | - if (is_array($prop)) // the ConceptProperty objects have their own sorting methods |
|
82 | + if (is_array($prop)) { |
|
83 | + // the ConceptProperty objects have their own sorting methods |
|
83 | 84 | { |
84 | 85 | ksort($sortable[$prop]); |
85 | 86 | } |
87 | + } |
|
86 | 88 | } |
87 | 89 | } |
88 | 90 | return $sortable; |