From c13f548c43aac69f121363ffafc77a6571a71df1 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Mar 2011 15:51:35 +0000 Subject: some light standardization of the core libraries git-svn-id: http://code.elgg.org/elgg/trunk@8843 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'engine/lib/views.php') diff --git a/engine/lib/views.php b/engine/lib/views.php index ff308171f..d3d790f8b 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1216,8 +1216,8 @@ function elgg_view_form($action, $form_vars = array(), $body_vars = array()) { /** * View an item in a list * - * @param object $item ElggEntity or ElggAnnotation - * @param array $vars Additional parameters for the rendering + * @param object $item ElggEntity or ElggAnnotation + * @param array $vars Additional parameters for the rendering * * @return string * @since 1.8.0 @@ -1247,9 +1247,9 @@ function elgg_view_list_item($item, array $vars = array()) { * * Shorthand for * - * @param string $type The specific icon to display + * @param string $name The specific icon to display * - * @returns string The html for displaying an icon + * @return string The html for displaying an icon */ function elgg_view_icon($name) { return ""; @@ -1447,12 +1447,14 @@ function elgg_views_register_core_head_elements() { /** * Add the rss link to the extras when if needed + * + * @return void */ function elgg_views_add_rss_link() { global $autofeed; if (isset($autofeed) && $autofeed == true) { $url = full_url(); - if (substr_count($url,'?')) { + if (substr_count($url, '?')) { $url .= "&view=rss"; } else { $url .= "?view=rss"; -- cgit v1.2.3