code: def get_param_values(self_,onlychanged=False):
          
          self_or_cls = self_.self_or_cls
          # CEB: we'd actually like to know whether a value has been
          # explicitly set on the instance, but I'm not sure that's easy
          # (would need to distinguish instantiation of default from
          # user setting of value).
          vals = []
          for name,val in self_or_cls.param.objects('existing').items():
              value = self_or_cls.param.get_value_generator(name)
              # (this is pointless for cls)
              if not onlychanged or not all_equal(value,val.default):
                  vals.append((name,value))
  
          vals.sort(key=itemgetter(0))
          return vals
docs: Return a list of name,value pairs for all Parameters of this
          object.
  
          When called on an instance with onlychanged set to True, will
          only return values that are not equal to the default value
          (onlychanged has no effect when called on a class).