Example #1
0
 /**
  * Get a count of records with the given property
  *
  * @param $params
  * @return int
  */
 public static function getRecordCount($params)
 {
     $dao = new CRM_Hrjobcontract_DAO_HoursLocation();
     $dao->copyValues($params);
     return $dao->count();
 }