@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | /** |
| 391 | 391 | * Get the number of total topics (threads) in this Forum |
| 392 | 392 | * |
| 393 | - * @return int Returns the number of topics (threads) |
|
| 393 | + * @return string Returns the number of topics (threads) |
|
| 394 | 394 | */ |
| 395 | 395 | public function getNumTopics() |
| 396 | 396 | { |
@@ -406,7 +406,7 @@ discard block |
||
| 406 | 406 | /** |
| 407 | 407 | * Get the number of total posts |
| 408 | 408 | * |
| 409 | - * @return int Returns the number of posts |
|
| 409 | + * @return string Returns the number of posts |
|
| 410 | 410 | */ |
| 411 | 411 | public function getNumPosts() |
| 412 | 412 | { |
@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | /** |
| 424 | 424 | * Get the number of distinct Authors |
| 425 | 425 | * |
| 426 | - * @return int |
|
| 426 | + * @return string |
|
| 427 | 427 | */ |
| 428 | 428 | public function getNumAuthors() |
| 429 | 429 | { |
@@ -438,7 +438,7 @@ discard block |
||
| 438 | 438 | |
| 439 | 439 | /** |
| 440 | 440 | * Returns the Topics (the first Post of each Thread) for this Forum |
| 441 | - * @return DataList |
|
| 441 | + * @return PaginatedList|null |
|
| 442 | 442 | */ |
| 443 | 443 | public function getTopics() |
| 444 | 444 | { |
@@ -793,7 +793,7 @@ discard block |
||
| 793 | 793 | /** |
| 794 | 794 | * Get posts to display. This method assumes an URL parameter "ID" which contains the thread ID. |
| 795 | 795 | * @param string sortDirection The sort order direction, either ASC for ascending (default) or DESC for descending |
| 796 | - * @return DataObjectSet Posts |
|
| 796 | + * @return PaginatedList Posts |
|
| 797 | 797 | */ |
| 798 | 798 | public function Posts($sortDirection = "ASC") |
| 799 | 799 | { |
@@ -847,7 +847,7 @@ discard block |
||
| 847 | 847 | /** |
| 848 | 848 | * Get the usable BB codes |
| 849 | 849 | * |
| 850 | - * @return DataObjectSet Returns the usable BB codes |
|
| 850 | + * @return ArrayList Returns the usable BB codes |
|
| 851 | 851 | * @see BBCodeParser::usable_tags() |
| 852 | 852 | */ |
| 853 | 853 | public function BBTags() |
@@ -1147,6 +1147,8 @@ discard block |
||
| 1147 | 1147 | |
| 1148 | 1148 | /** |
| 1149 | 1149 | * Send email to moderators notifying them the thread has been created or post added/edited. |
| 1150 | + * @param DataObject $post |
|
| 1151 | + * @param DataObject $thread |
|
| 1150 | 1152 | */ |
| 1151 | 1153 | public function notifyModerators($post, $thread, $starting_thread = false) |
| 1152 | 1154 | { |
@@ -1488,6 +1490,9 @@ discard block |
||
| 1488 | 1490 | */ |
| 1489 | 1491 | class Forum_DataQuery extends DataQuery |
| 1490 | 1492 | { |
| 1493 | + /** |
|
| 1494 | + * @param string $dataClass |
|
| 1495 | + */ |
|
| 1491 | 1496 | public function __construct($dataClass, $query) |
| 1492 | 1497 | { |
| 1493 | 1498 | parent::__construct($dataClass); |