Export/ExportManager.php
private function retrieveUsedFiltersType($data)
    {
        $usedTypes = array();
        foreach($data as $alias => $filterData) {
            if ($filterData['enabled'] == true){
                $filter = $this->getFilter($alias);
                if (!in_array($filter->applyOn(), $usedTypes)) {
                    array_push($usedTypes, $filter->applyOn());
                }
            }
        }
        
        return $usedTypes;
    }
private function retrieveUsedFiltersType($data)
    {
        $usedTypes = array();
        foreach($data as $alias => $filterData) {
            if ($filterData['enabled'] == true){
                $filter = $this->getFilter($alias);
                if (!in_array($filter->applyOn(), $usedTypes)) {
                    array_push($usedTypes, $filter->applyOn());
                }
            }
        }
        
        return $usedTypes;
    }
private function retrieveUsedFiltersType ( $ data ) { $ usedTypes = array ( ) ; foreach ( $ data as $ alias => $ filterData ) { if ( $ filterData [ 'enabled' ] == true ) { $ filter = $ this -> getFilter ( $ alias ) ; if ( ! in_array ( $ filter -> applyOn ( ) , $ usedTypes ) ) { array_push ( $ usedTypes , $ filter -> applyOn ( ) ) ; } } } return $ usedTypes ; }
Retrieve the filter used in this export.

@param mixed $data the data from the `filters` key of the ExportType
@return array an array with types
Retrieve the filter used in this export .