@@ -45,6 +45,9 @@ |
||
| 45 | 45 | |
| 46 | 46 | return $output; |
| 47 | 47 | } |
| 48 | +/** |
|
| 49 | + * @param ElggEntity $entity |
|
| 50 | + */ |
|
| 48 | 51 | function get_blog($entity) |
| 49 | 52 | { |
| 50 | 53 | /* |
@@ -758,6 +758,9 @@ |
||
| 758 | 758 | $this->message = $this->StripSlashes($_POST['message']); |
| 759 | 759 | } |
| 760 | 760 | |
| 761 | + /** |
|
| 762 | + * @param string $error |
|
| 763 | + */ |
|
| 761 | 764 | public function add_error($error) |
| 762 | 765 | { |
| 763 | 766 | array_push($this->errors, $error); |
@@ -1744,7 +1744,7 @@ |
||
| 1744 | 1744 | * |
| 1745 | 1745 | * @author Ethan Wallace |
| 1746 | 1746 | * @param string $desc Preview text from the discussion. |
| 1747 | - * @return string HTML to create embeded video |
|
| 1747 | + * @return string[] HTML to create embeded video |
|
| 1748 | 1748 | */ |
| 1749 | 1749 | function embed_discussion_river($desc) |
| 1750 | 1750 | { |
@@ -606,6 +606,10 @@ |
||
| 606 | 606 | |
| 607 | 607 | |
| 608 | 608 | /// recursively go through the nested forums to create the breadcrumb |
| 609 | +/** |
|
| 610 | + * @param integer $forum_guid |
|
| 611 | + * @param integer $recurse_forum_guid |
|
| 612 | + */ |
|
| 609 | 613 | function assemble_nested_forums($breadcrumb, $forum_guid, $recurse_forum_guid) { |
| 610 | 614 | $lang = get_current_language(); |
| 611 | 615 | $entity = get_entity($recurse_forum_guid); |