Esempio n. 1
0
 /**
  * Method to get the total number of content items for the frontpage
  *
  * @access public
  * @return integer
  */
 function getTotal($state = 1)
 {
     // Lets load the content if it doesn't already exist
     if (empty($this->_total)) {
         // Resultados desde Solr
         require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_eqzonales' . DS . 'helper' . DS . 'contenthelper.php';
         $contenthelper = new comEqZonalesContentHelper();
         $this->_total[$state] = $contenthelper->getTotal(0, 100, array('!tags_values:la_voz_del_vecino'));
     }
     return $this->_total[$state];
 }