original_string: public function getFilterList()
      {
          $cacheId = __CLASS__ . '_' . __FUNCTION__;
  
          $output = $this->cache->load($cacheId);
          if ($output) {
              return $output;
          }
  
          $output = $this->db->fetchPairs("SELECT gaf_id, COALESCE(gaf_manual_name, gaf_calc_name) "
                  . "FROM gems__appointment_filters WHERE gaf_active = 1 ORDER BY gaf_id_order");
  
          $this->cache->save($output, $cacheId, array('appointment_filters'));
  
          return $output;
      }
code: public function getFilterList()
      {
          $cacheId = __CLASS__ . '_' . __FUNCTION__;
  
          $output = $this->cache->load($cacheId);
          if ($output) {
              return $output;
          }
  
          $output = $this->db->fetchPairs("SELECT gaf_id, COALESCE(gaf_manual_name, gaf_calc_name) "
                  . "FROM gems__appointment_filters WHERE gaf_active = 1 ORDER BY gaf_id_order");
  
          $this->cache->save($output, $cacheId, array('appointment_filters'));
  
          return $output;
      }
code_tokens: public function getFilterList ( ) { $ cacheId = __CLASS__ . '_' . __FUNCTION__ ; $ output = $ this -> cache -> load ( $ cacheId ) ; if ( $ output ) { return $ output ; } $ output = $ this -> db -> fetchPairs ( "SELECT gaf_id, COALESCE(gaf_manual_name, gaf_calc_name) " . "FROM gems__appointment_filters WHERE gaf_active = 1 ORDER BY gaf_id_order" ) ; $ this -> cache -> save ( $ output , $ cacheId , array ( 'appointment_filters' ) ) ; return $ output ; }
docstring: Load the list of assignable filters
  
  @return array filter_id => label
docstring_tokens: Load the list of assignable filters