Beispiel #1
0
 def __init__(self, item, template_stream, param_name=None,
              rule_id=None, rewrite_to_stream=None):
     self._item = qUtils.createWeakProxy(item)
     self._template_stream = template_stream
     self._param_name = param_name
     self._rewrite_to_stream = rewrite_to_stream
     self._rule_id = rule_id
Beispiel #2
0
 def __init__(self, field_type, item, body=None, old_path=None):
     self.item = qUtils.createWeakProxy(item)
     self.edit_root = field_type.editRoot
     self.path_template = field_type.pathTemplate
     self.body = body
     self.old_path = old_path
Beispiel #3
0
 def __init__(self, field_type, item):
     self.field_type = field_type
     self.item = qUtils.createWeakProxy(item)
Beispiel #4
0
 def __init__(self, item, field, item_id):
     self._owner = qUtils.createWeakProxy(item)
     self._field = field
     self._item_id = item_id