From 071e9316428e3621511ccf740361115de3fc46c4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 26 Jun 2010 12:06:58 -0700 Subject: [PATCH] Make functions static. --- themes/three_nids/helpers/three_nids.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/three_nids/helpers/three_nids.php b/themes/three_nids/helpers/three_nids.php index 65054bfc..36eeb798 100644 --- a/themes/three_nids/helpers/three_nids.php +++ b/themes/three_nids/helpers/three_nids.php @@ -19,7 +19,7 @@ */ class three_nids_Core { - public function fancylink($item, $view_type="album", $group_img = true, + static function fancylink($item, $view_type="album", $group_img = true, $display_comment = true, $parent_title_class = "h2") { // view_type = album || dynamic || header $link = ""; @@ -112,7 +112,7 @@ class three_nids_Core { return $link; } - public function comment_count($item) { + static function comment_count($item) { access::required("view", $item); return ORM::factory("comment")