public static function getLocationNumber($search = '', $params = array()) { return SJB_DB::queryValue("SELECT count(*) FROM locations l {$search}", SJB_DB::explodeQueryArgs($params)); }
public static function getLocationNumber($search = '', $params = array()) { return SJB_DB::queryValue("SELECT count(*) FROM locations l {$search}", SJB_DB::explodeQueryArgs($params)); }