@@ -126,6 +126,9 @@ discard block |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | /// recursively go through the forums and return group entity |
129 | +/** |
|
130 | + * @return integer |
|
131 | + */ |
|
129 | 132 | function gcforums_get_forum_in_group($entity_guid_static, $entity_guid) { |
130 | 133 | $entity = get_entity($entity_guid); |
131 | 134 | // (base) stop recursing when we reach group guid |
@@ -220,6 +223,9 @@ discard block |
||
220 | 223 | |
221 | 224 | |
222 | 225 | |
226 | +/** |
|
227 | + * @param ElggEntity $entity |
|
228 | + */ |
|
223 | 229 | function assemble_forum_breadcrumb($entity) { |
224 | 230 | $forum_guid = $entity->guid; |
225 | 231 | if ($entity instanceof ElggGroup) { |
@@ -511,6 +517,7 @@ discard block |
||
511 | 517 | * TOTAL_POST : 1 |
512 | 518 | * TOTAL_TOPICS : 2 |
513 | 519 | * RECENT_POST : 3 |
520 | + * @param integer $type |
|
514 | 521 | */ |
515 | 522 | function get_forums_statistics_information($container_guid, $type) { |
516 | 523 | $dbprefix = elgg_get_config('dbprefix'); |
@@ -662,6 +669,10 @@ discard block |
||
662 | 669 | |
663 | 670 | |
664 | 671 | |
672 | +/** |
|
673 | + * @param integer|null $forum_guid |
|
674 | + * @param integer|null $group_guid |
|
675 | + */ |
|
665 | 676 | function gcforums_menu_buttons($forum_guid, $group_guid, $is_topic=false) { |
666 | 677 | // main page if forum_guid is not present |
667 | 678 | elgg_load_css('gcforums-css'); |