Exemple #1
0
 /**
  * 
  */
 public function getCountsByFieldForSearch($ps_search, $pa_options = null)
 {
     require_once __CA_LIB_DIR__ . '/core/Search/SearchCache.php';
     $vn_tablenum = $this->opo_datamodel->getTableNum($this->ops_tablename);
     $o_cache = new SearchCache();
     if ($o_cache->load($ps_search, $vn_tablenum, $pa_options)) {
         return $o_cache->getCounts();
     }
     return array();
 }