diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-26 15:51:35 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-26 15:51:35 +0000 |
commit | c13f548c43aac69f121363ffafc77a6571a71df1 (patch) | |
tree | 78f24432c882baa759d096c12c0165e86e31217e /engine/lib/views.php | |
parent | 34c502d94a0a729c99ad538ecf3e6e4ceeb8353e (diff) | |
download | elgg-c13f548c43aac69f121363ffafc77a6571a71df1.tar.gz elgg-c13f548c43aac69f121363ffafc77a6571a71df1.tar.bz2 |
some light standardization of the core libraries
git-svn-id: http://code.elgg.org/elgg/trunk@8843 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r-- | engine/lib/views.php | 12 |
1 files changed, 7 insertions, 5 deletions
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 <span class="elgg-icon elgg-icon-$name"></span> * - * @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 "<span class=\"elgg-icon elgg-icon-$name\"></span>"; @@ -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"; |