app/soc/logic/models/base.py
changeset 606 65d35584ee31
parent 596 7dd98eeba61b
child 608 77bffba4e946
equal deleted inserted replaced
605:4a384d412640 606:65d35584ee31
    61     if skip_properties:
    61     if skip_properties:
    62       self._skip_properties = skip_properties
    62       self._skip_properties = skip_properties
    63     else:
    63     else:
    64       self._skip_properties = []
    64       self._skip_properties = []
    65 
    65 
       
    66   def getModel(self):
       
    67     """Returns the model this logic class uses
       
    68     """
       
    69 
       
    70     return self._model
       
    71 
    66   def _updateField(self, model, name, value):
    72   def _updateField(self, model, name, value):
    67     """Hook called when a field is updated.
    73     """Hook called when a field is updated.
    68 
    74 
    69     Base classes should override if any special actions need to be
    75     Base classes should override if any special actions need to be
    70     taken when a field is updated. The field is not updated if the
    76     taken when a field is updated. The field is not updated if the