private function format_filter($filters = array()) {
    $filters_merged = array();
    foreach ($filters as $ky => $vl) {
      $filters_merged[] = $ky . ':' . $vl;
    }

    return implode(',', $filters_merged);
  }
private function format_filter($filters = array()) {
    $filters_merged = array();
    foreach ($filters as $ky => $vl) {
      $filters_merged[] = $ky . ':' . $vl;
    }

    return implode(',', $filters_merged);
  }
private function format_filter ( $ filters = array ( ) ) { $ filters_merged = array ( ) ; foreach ( $ filters as $ ky => $ vl ) { $ filters_merged [ ] = $ ky . ':' . $ vl ; } return implode ( ',' , $ filters_merged ) ; }
Format filter array to string

@param $filters array list of filters

@return string combined filter string
Format filter array to string