Index: branches/RC/core/units/general/cat_tag_processor.php =================================================================== diff -u -r8991 -r9001 --- branches/RC/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8991) +++ branches/RC/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 9001) @@ -512,6 +512,21 @@ return adodb_date($format, $date); } + + /** + * Counts category item count in system (not category-dependent) + * + * @param Array $params + * @return int + */ + function ItemCount($params) + { + $count_helper =& $this->Application->recallObject('CountHelper'); + /* @var $count_helper kCountHelper */ + + $today_only = isset($params['today']) && $params['today']; + return $count_helper->ItemCount($this->Prefix, $today_only); + } } ?> \ No newline at end of file