original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Retrieve the filter used in this export .