Searched refs:instance (Results 1 - 10 of 10) sorted by relevance

/ec/ECQuiz/Products/ECQuiz/
H A Dvalidators.py43 instance = kwargs.get('instance', None)
45 if instance and field:
46 request = getattr(instance, 'REQUEST', None)
95 instance = kwargs.get('instance', None)
96 if instance is not None:
98 instance.translate(msgid = 'fraction_delimiter',
108 return instance.translate(
129 instance
[all...]
H A Dqti.py47 NS_XSI_URI = u'http://www.w3.org/2001/XMLSchema-instance'
1128 # "context" should be a ECQuiz instance.
1132 # "context" should be a ECQuiz instance and we
1672 msg = instance.translate(
2070 @param multipleChoiceTest The ECQuiz instance
2074 @return A file-like object (a StringIO instance, to be exact) that
2087 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2389 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/content/
H A DDynamicDataField.py70 """ Create DynamicDataField instance
112 def set(self, instance, value, **kwargs):
125 ObjectField.set(self, instance, value, **kwargs)
129 def get(self, instance, **kwargs):
144 value = ObjectField.get(self, instance, **kwargs) or {}
151 return encode(buffer.getvalue(), instance, **kwargs)
155 value = ObjectField.get(self, instance, **kwargs) or {}
156 data = encode(value, instance, **kwargs)
164 # data = [encode(v, instance, **kwargs) for v in value]
170 def getRaw(self, instance, **kwarg
[all...]
H A DPlainTextField.py45 mimetype=None, instance=None, **kwargs):
50 file='', instance=instance)
114 mtr = getToolByName(instance, 'mimetypes_registry', None)
127 file.update(value, instance, mimetype=mimetype, filename=filename)
128 file.setContentType(instance, mimetype)
/ec/ECLecture/Products/ECLecture/content/
H A DTimePeriodField.py44 def validate_required(self, instance, value, errors):
58 return ObjectField.validate_required(self, instance, result, errors)
61 def set(self, instance, value, **kwargs):
77 ObjectField.set(self, instance, result, **kwargs)
/ec/ECAssignmentBox/Products/ECAssignmentBox/content/
H A DPlainTextField.py39 mimetype=None, instance=None, **kwargs):
44 file='', instance=instance)
108 mtr = getToolByName(instance, 'mimetypes_registry', None)
121 file.update(value, instance, mimetype=mimetype, filename=filename)
122 file.setContentType(instance, mimetype)
/ec/ECSpooler/startup/
H A Dec_backends.method20 instance="$3" # %i
24 echo "Usage: $0 {start|status|stop} instance BackendName"
34 if [ -z "$instance" ]; then
35 instance=`echo "$BACKEND_NAME" | tr '[:upper:]' '[:lower:]'`
38 SMF_FMRI="svc:/application/ec/backend:${instance}"
/ec/ECSpooler/lib/util/
H A DBackendSchema.py71 Return a copy of field instance, consisting of field name and
427 def edit(self, instance, name, value):
429 instance[name] = value
432 # def setDefaults(self, instance):
442 # mutator = field.getMutator(instance)
445 # default = field.getDefault(instance)
457 def updateAll(self, instance, **kwargs):
458 """This method mutates fields in the given instance.
463 E.g. updateAll(instance, id='123', amount=500) will, depending on the
464 actual mutators set, result in two calls: ``instance
[all...]
/ec/ECSpooler/backends/sql/lib/
H A Dcommons-logging-1.1.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/logging/ ...
/ec/ECSpooler/backends/xml/bin/saxon/
H A Dsaxon9he.jarMETA-INF/MANIFEST.MF META-INF/SAXONICA.SF META-INF/SAXONICA.RSA META ...

Completed in 26 milliseconds