Ejemplo n.º 1
0
 def doSomething(self):
     msg = 'schema version is:' + self.get_schema_version() + '\n\n'
     msg2 = ''
     for item in gmDocuments.get_document_types():
         msg2 = msg2 + '\n' + str(item)
     msg = msg + msg2
     return "<pre>%s</pre>" % msg
Ejemplo n.º 2
0
 def doSomething(self):
     msg = 'schema version is:' + gmPG2.get_schema_version() +'\n\n'
     msg2 =''
     for item in gmDocuments.get_document_types():
         msg2 = msg2 +'\n' + str(item)
     msg = msg + msg2
     return "<pre>%s</pre>" % msg
Ejemplo n.º 3
0
 def get_doc_types(self):
     res = []
     for item in gmDocuments.get_document_types():
         res.append(str(item))
     return res
Ejemplo n.º 4
0
 def get_doc_types(self):
     return jsonclasshintify(gmDocuments.get_document_types())
Ejemplo n.º 5
0
 def get_doc_types(self):
     return jsonclasshintify(gmDocuments.get_document_types())