@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * |
| 47 | 47 | * @param SMWQueryResult $queryResult |
| 48 | 48 | * |
| 49 | - * @return string|boolean |
|
| 49 | + * @return string |
|
| 50 | 50 | */ |
| 51 | 51 | public function getFileName( SMWQueryResult $queryResult ) { |
| 52 | 52 | if ( $this->m_title != '' ) { |
@@ -136,7 +136,6 @@ |
||
| 136 | 136 | * |
| 137 | 137 | * @since 1.8 |
| 138 | 138 | * |
| 139 | - * @param array $data |
|
| 140 | 139 | * @param $minValue |
| 141 | 140 | * @param $maxValue |
| 142 | 141 | * |
@@ -45,7 +45,6 @@ discard block |
||
| 45 | 45 | * |
| 46 | 46 | * @since 1.8 |
| 47 | 47 | * |
| 48 | - * @param SMWQueryResult $result |
|
| 49 | 48 | * @param $outputMode |
| 50 | 49 | * |
| 51 | 50 | * @return array |
@@ -250,7 +249,6 @@ discard block |
||
| 250 | 249 | * |
| 251 | 250 | * @since 1.8 |
| 252 | 251 | * |
| 253 | - * @param array $data |
|
| 254 | 252 | * |
| 255 | 253 | * @return string |
| 256 | 254 | */ |
@@ -38,6 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @see SMWResultPrinter::getResultText() |
| 41 | + * @param integer $outputmode |
|
| 41 | 42 | */ |
| 42 | 43 | protected function getResultText( SMWQueryResult $res, $outputmode ) { |
| 43 | 44 | $numbers = $this->getNumbers( $res ); |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use SMWDataValue; |
| 9 | 9 | use SMWOutputs; |
| 10 | 10 | use SRFUtils; |
| 11 | - |
|
| 12 | 11 | use FormatJson; |
| 13 | 12 | use Skin; |
| 14 | 13 | use Html; |
@@ -47,6 +47,9 @@ discard block |
||
| 47 | 47 | $this->mUnsortedItems = $items; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param SRFOutlineItem $item |
|
| 52 | + */ |
|
| 50 | 53 | function addItem( $item ) { |
| 51 | 54 | $this->mUnsortedItems[] = $item; |
| 52 | 55 | } |
@@ -135,6 +138,9 @@ discard block |
||
| 135 | 138 | return $result; |
| 136 | 139 | } |
| 137 | 140 | |
| 141 | + /** |
|
| 142 | + * @param SRFOutlineTree $outline_tree |
|
| 143 | + */ |
|
| 138 | 144 | function printTree( $outline_tree, $level = 0 ) { |
| 139 | 145 | $text = ""; |
| 140 | 146 | if ( ! is_null( $outline_tree->mUnsortedItems ) ) { |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * Returns the description string for this module |
| 87 | - * @return mixed string or array of strings |
|
| 87 | + * @return string[] string or array of strings |
|
| 88 | 88 | */ |
| 89 | 89 | protected function getDescription() { |
| 90 | 90 | return array( |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | 97 | * Returns usage examples for this module. Return false if no examples are available. |
| 98 | - * @return bool|string|array |
|
| 98 | + * @return boolean |
|
| 99 | 99 | */ |
| 100 | 100 | protected function getExamples() { |
| 101 | 101 | return false; |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * |
| 43 | 43 | * @param SMWQueryResult $queryResult |
| 44 | 44 | * |
| 45 | - * @return string|boolean |
|
| 45 | + * @return string |
|
| 46 | 46 | */ |
| 47 | 47 | public function getFileName( SMWQueryResult $queryResult ) { |
| 48 | 48 | if ( $this->getSearchLabel( SMW_OUTPUT_WIKI ) != '' ) { |
@@ -385,6 +385,14 @@ discard block |
||
| 385 | 385 | |
| 386 | 386 | /** |
| 387 | 387 | * Constructor for a single item in the vcard. Requires the URI of the item. |
| 388 | + * @param string $prefix |
|
| 389 | + * @param string $additionalname |
|
| 390 | + * @param string $suffix |
|
| 391 | + * @param string $jobtitle |
|
| 392 | + * @param string $role |
|
| 393 | + * @param string $department |
|
| 394 | + * @param string $category |
|
| 395 | + * @param string $note |
|
| 388 | 396 | */ |
| 389 | 397 | public function __construct( Title $t, $prefix, $firstname, $lastname, $additionalname, $suffix, $fullname, $tels, $addresses, $emails, $birthday, $jobtitle, $role, $organization, $department, $category, $url, $note ) { |
| 390 | 398 | $this->uri = $t->getFullURL(); |
@@ -494,6 +502,7 @@ discard block |
||
| 494 | 502 | |
| 495 | 503 | /** |
| 496 | 504 | * Constructor for a single address item in the vcard item. |
| 505 | + * @param string $type |
|
| 497 | 506 | */ |
| 498 | 507 | public function __construct( $type, $postofficebox, $extendedaddress, $street, $locality, $region, $postalcode, $country ) { |
| 499 | 508 | $this->type = $type; |
@@ -526,6 +535,7 @@ discard block |
||
| 526 | 535 | |
| 527 | 536 | /** |
| 528 | 537 | * Constructor for a single telephone item in the vcard item. |
| 538 | + * @param string $type |
|
| 529 | 539 | */ |
| 530 | 540 | public function __construct( $type, $telnumber ) { |
| 531 | 541 | $this->type = $type; // may be a vCard value list using ",", no escaping |
@@ -552,6 +562,7 @@ discard block |
||
| 552 | 562 | |
| 553 | 563 | /** |
| 554 | 564 | * Constructor for a email telephone item in the vcard item. |
| 565 | + * @param string $type |
|
| 555 | 566 | */ |
| 556 | 567 | public function __construct( $type, $emailaddress ) { |
| 557 | 568 | $this->type = $type; |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | * @see SMWResultPrinter::getResultText |
| 29 | 29 | * |
| 30 | 30 | * @param SMWQueryResult $res |
| 31 | - * @param array $params |
|
| 32 | 31 | * @param $outputmode |
| 33 | 32 | * |
| 34 | 33 | * @return string |