<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
class Core_Model_Category extends Core_Model_Item_Abstract {

  protected $_searchTriggers = false;
  
  public function getTitle() {
    return $this->category_name;
  }
  
  public function getHref($params = array()) {
    return Zend_Controller_Front::getInstance()->getRouter()->assemble($params, $this->_route, true) . '?category_id=' . $this->category_id;
  }
}
