- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
private function _moveIndexes($filters,$int){
$count = count($filters);
for($i=2;$i<$count;$i++ ){
$filters[$i]["filter"]["index"] += $int;
}
return $filters;
}
private function _removeDefaultFilters(){
$this->data["Data"]["filters"] = $this->_moveIndexes($this->data["Data"]["filters"],-2);
$count = count($this->data["Data"]["filters"]);
for($i=0;$i<$count-2;$i++){
$this->data["Data"]["filters"][$i] = $this->data["Data"]["filters"][$i+2];
}
array_pop($this->data["Data"]["filters"]);
array_pop($this->data["Data"]["filters"]);
}