@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * Get the localname of a concept in the vocabulary. If the URI is not |
| 122 | 122 | * in the URI space of this vocabulary, return the full URI. |
| 123 | 123 | * |
| 124 | - * @param $uri string full URI of concept |
|
| 124 | + * @param string $uri string full URI of concept |
|
| 125 | 125 | * @return string local name of concept, or original full URI if the local name cannot be determined |
| 126 | 126 | */ |
| 127 | 127 | public function getLocalName($uri) |
@@ -293,6 +293,8 @@ discard block |
||
| 293 | 293 | |
| 294 | 294 | /** |
| 295 | 295 | * Counts the statistics of the vocabulary. |
| 296 | + * @param string $array |
|
| 297 | + * @param string $group |
|
| 296 | 298 | * @return array of the concept/group counts |
| 297 | 299 | */ |
| 298 | 300 | public function getStatistics($lang = '', $array=null, $group=null) |
@@ -332,6 +334,7 @@ discard block |
||
| 332 | 334 | /** |
| 333 | 335 | * Gets the child relations of a concept and whether these children have more children. |
| 334 | 336 | * @param string $uri |
| 337 | + * @param string $lang |
|
| 335 | 338 | */ |
| 336 | 339 | public function getConceptChildren($uri, $lang) |
| 337 | 340 | { |
@@ -440,6 +443,8 @@ discard block |
||
| 440 | 443 | /** |
| 441 | 444 | * Lists the concepts available in the concept group. |
| 442 | 445 | * @param $clname |
| 446 | + * @param string $glname |
|
| 447 | + * @param string $clang |
|
| 443 | 448 | * @return array |
| 444 | 449 | */ |
| 445 | 450 | public function listConceptGroupContents($glname, $clang) |
@@ -466,7 +471,7 @@ discard block |
||
| 466 | 471 | /** |
| 467 | 472 | * Returns the letters of the alphabet which have been used in this vocabulary. |
| 468 | 473 | * The returned letters may also include specials such as '0-9' (digits) and '!*' (special characters). |
| 469 | - * @param $clang content language |
|
| 474 | + * @param string $clang content language |
|
| 470 | 475 | * @return array array of letters |
| 471 | 476 | */ |
| 472 | 477 | public function getAlphabet($clang) |
@@ -501,6 +506,7 @@ discard block |
||
| 501 | 506 | * Also the special tokens '0-9' (digits), '!*' (special characters) and '*' |
| 502 | 507 | * (everything) are supported. |
| 503 | 508 | * @param $letter letter (or special token) to search for |
| 509 | + * @param string $clang |
|
| 504 | 510 | */ |
| 505 | 511 | public function searchConceptsAlphabetical($letter, $limit = null, $offset = null, $clang = null) |
| 506 | 512 | { |
@@ -606,7 +612,7 @@ discard block |
||
| 606 | 612 | /** |
| 607 | 613 | * Returns a list of recently changed or entirely new concepts. |
| 608 | 614 | * @param string $clang content language for the labels |
| 609 | - * @param string $lang UI language for the dates |
|
| 615 | + * @param string $prop |
|
| 610 | 616 | * @return Array |
| 611 | 617 | */ |
| 612 | 618 | public function getChangeList($prop, $clang, $offset) |
@@ -614,6 +620,9 @@ discard block |
||
| 614 | 620 | return $this->getSparql()->queryChangeList($clang, $offset, $prop); |
| 615 | 621 | } |
| 616 | 622 | |
| 623 | + /** |
|
| 624 | + * @param string $lang |
|
| 625 | + */ |
|
| 617 | 626 | public function getTitle($lang=null) { |
| 618 | 627 | return $this->config->getTitle($lang); |
| 619 | 628 | } |