/** * Get category name * * @param Varien_Object $node * @return string */ public function buildNodeName($node) { $result = $this->htmlEscape($node->getName()); if ($this->_withProductCount) { $result .= ' (' . $node->getProductCount() . ')'; } return $result; }