@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * Get the localname of a concept in the vocabulary. If the URI is not |
| 132 | 132 | * in the URI space of this vocabulary, return the full URI. |
| 133 | 133 | * |
| 134 | - * @param $uri string full URI of concept |
|
| 134 | + * @param string $uri string full URI of concept |
|
| 135 | 135 | * @return string local name of concept, or original full URI if the local name cannot be determined |
| 136 | 136 | */ |
| 137 | 137 | public function getLocalName($uri) |
@@ -303,6 +303,8 @@ discard block |
||
| 303 | 303 | |
| 304 | 304 | /** |
| 305 | 305 | * Counts the statistics of the vocabulary. |
| 306 | + * @param string $array |
|
| 307 | + * @param string $group |
|
| 306 | 308 | * @return array of the concept/group counts |
| 307 | 309 | */ |
| 308 | 310 | public function getStatistics($lang = '', $array=null, $group=null) |
@@ -342,6 +344,7 @@ discard block |
||
| 342 | 344 | /** |
| 343 | 345 | * Gets the child relations of a concept and whether these children have more children. |
| 344 | 346 | * @param string $uri |
| 347 | + * @param string $lang |
|
| 345 | 348 | */ |
| 346 | 349 | public function getConceptChildren($uri, $lang) |
| 347 | 350 | { |
@@ -450,6 +453,8 @@ discard block |
||
| 450 | 453 | /** |
| 451 | 454 | * Lists the concepts available in the concept group. |
| 452 | 455 | * @param $clname |
| 456 | + * @param string $glname |
|
| 457 | + * @param string $clang |
|
| 453 | 458 | * @return array |
| 454 | 459 | */ |
| 455 | 460 | public function listConceptGroupContents($glname, $clang) |
@@ -476,7 +481,7 @@ discard block |
||
| 476 | 481 | /** |
| 477 | 482 | * Returns the letters of the alphabet which have been used in this vocabulary. |
| 478 | 483 | * The returned letters may also include specials such as '0-9' (digits) and '!*' (special characters). |
| 479 | - * @param $clang content language |
|
| 484 | + * @param string $clang content language |
|
| 480 | 485 | * @return array array of letters |
| 481 | 486 | */ |
| 482 | 487 | public function getAlphabet($clang) |
@@ -511,6 +516,7 @@ discard block |
||
| 511 | 516 | * Also the special tokens '0-9' (digits), '!*' (special characters) and '*' |
| 512 | 517 | * (everything) are supported. |
| 513 | 518 | * @param $letter letter (or special token) to search for |
| 519 | + * @param string $clang |
|
| 514 | 520 | */ |
| 515 | 521 | public function searchConceptsAlphabetical($letter, $limit = null, $offset = null, $clang = null) |
| 516 | 522 | { |
@@ -626,6 +632,9 @@ discard block |
||
| 626 | 632 | return $this->getSparql()->queryChangeList($prop, $clang, $offset, $limit); |
| 627 | 633 | } |
| 628 | 634 | |
| 635 | + /** |
|
| 636 | + * @param string $lang |
|
| 637 | + */ |
|
| 629 | 638 | public function getTitle($lang=null) { |
| 630 | 639 | return $this->config->getTitle($lang); |
| 631 | 640 | } |
@@ -234,6 +234,11 @@ discard block |
||
| 234 | 234 | )); |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | + /** |
|
| 238 | + * @param string $fromName |
|
| 239 | + * @param string|null $fromEmail |
|
| 240 | + * @param string $sender |
|
| 241 | + */ |
|
| 237 | 242 | private function createFeedbackHeaders($fromName, $fromEmail, $toMail, $sender) |
| 238 | 243 | { |
| 239 | 244 | $headers = "MIME-Version: 1.0" . "\r\n"; |
@@ -255,6 +260,7 @@ discard block |
||
| 255 | 260 | * @param string $fromName senders own name. |
| 256 | 261 | * @param string $fromEmail senders email address. |
| 257 | 262 | * @param string $fromVocab which vocabulary is the feedback related to. |
| 263 | + * @param string $toMail |
|
| 258 | 264 | */ |
| 259 | 265 | public function sendFeedback($request, $message, $messageSubject, $fromName = null, $fromEmail = null, $fromVocab = null, $toMail = null) |
| 260 | 266 | { |
@@ -534,6 +540,7 @@ discard block |
||
| 534 | 540 | |
| 535 | 541 | /** |
| 536 | 542 | * Invokes a very generic errorpage. |
| 543 | + * @param string $message |
|
| 537 | 544 | */ |
| 538 | 545 | public function invokeGenericErrorPage($request, $message = null) |
| 539 | 546 | { |