original_string: protected function get_filters_as_booleans() {
          $filters = [
              BLOCK_TIMELINE_FILTER_BY_NONE => false,
              BLOCK_TIMELINE_FILTER_BY_OVERDUE => false,
              BLOCK_TIMELINE_FILTER_BY_7_DAYS => false,
              BLOCK_TIMELINE_FILTER_BY_30_DAYS => false,
              BLOCK_TIMELINE_FILTER_BY_3_MONTHS => false,
              BLOCK_TIMELINE_FILTER_BY_6_MONTHS => false
          ];
  
          // Set the selected filter to true.
          $filters[$this->filter] = true;
  
          return $filters;
      }
code: protected function get_filters_as_booleans() {
          $filters = [
              BLOCK_TIMELINE_FILTER_BY_NONE => false,
              BLOCK_TIMELINE_FILTER_BY_OVERDUE => false,
              BLOCK_TIMELINE_FILTER_BY_7_DAYS => false,
              BLOCK_TIMELINE_FILTER_BY_30_DAYS => false,
              BLOCK_TIMELINE_FILTER_BY_3_MONTHS => false,
              BLOCK_TIMELINE_FILTER_BY_6_MONTHS => false
          ];
  
          // Set the selected filter to true.
          $filters[$this->filter] = true;
  
          return $filters;
      }
code_tokens: protected function get_filters_as_booleans ( ) { $ filters = [ BLOCK_TIMELINE_FILTER_BY_NONE => false , BLOCK_TIMELINE_FILTER_BY_OVERDUE => false , BLOCK_TIMELINE_FILTER_BY_7_DAYS => false , BLOCK_TIMELINE_FILTER_BY_30_DAYS => false , BLOCK_TIMELINE_FILTER_BY_3_MONTHS => false , BLOCK_TIMELINE_FILTER_BY_6_MONTHS => false ] ; // Set the selected filter to true. $ filters [ $ this -> filter ] = true ; return $ filters ; }
docstring: Test the available filters with the current user preference and return an array with
  bool flags corresponding to which is active
  
  @return array
docstring_tokens: Test the available filters with the current user preference and return an array with bool flags corresponding to which is active