Completed
Pull Request — gcconnex (#1503)
by
unknown
21:07
created
mod/gcforums/start.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.