diff --git a/core/util.inc.php b/core/util.inc.php index 60a95b6f..8336eead 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -1438,6 +1438,9 @@ function _fatal_error(Exception $e) { * * Necessary because various servers and various clients * think that / is special... + * + * @param string $str + * @return string */ function _decaret($str) { $out = ""; @@ -1456,6 +1459,9 @@ function _decaret($str) { return $out; } +/** + * @return User + */ function _get_user() { global $config; $user = null; diff --git a/themes/lite/themelet.class.php b/themes/lite/themelet.class.php index 2c10869f..59662493 100644 --- a/themes/lite/themelet.class.php +++ b/themes/lite/themelet.class.php @@ -1,7 +1,10 @@ add_block(new Block(null, $body, "main", 90)); } + /** + * @param string $base_url + * @param string $query + * @param string $page + * @param string $name + * @param null|string $link_class + * @return string + */ public function litetheme_gen_page_link($base_url, $query, $page, $name, $link_class=null) { $link = make_link("$base_url/$page", $query); return "$name"; } - + + /** + * @param string $base_url + * @param string $query + * @param string $page + * @param string $current_page + * @param string $name + * @return string + */ public function litetheme_gen_page_link_block($base_url, $query, $page, $current_page, $name) { $paginator = ""; @@ -33,7 +58,14 @@ class Themelet extends BaseThemelet { return $paginator; } - + + /** + * @param int $current_page + * @param int $total_pages + * @param string $base_url + * @param string $query + * @return string + */ public function litetheme_build_paginator($current_page, $total_pages, $base_url, $query) { $next = $current_page + 1; $prev = $current_page - 1;