mirror of
https://github.com/yweber/lodel2.git
synced 2026-02-14 05:50:12 +01:00
Bugfix for Em MlString translations + me.json update
This commit is contained in:
parent
ec386c3e72
commit
d4504df92a
7 changed files with 746 additions and 732 deletions
|
|
@ -76,6 +76,9 @@ def fieldtype_db_init(fieldtype, noauto_inc = False):
|
|||
return tuple(res)
|
||||
|
||||
## @brief Cast a value given a fieldtype
|
||||
# @param fieldtype EmFieldType : a fieldtype instance
|
||||
# @param value : mixed value
|
||||
# @return The value in a way usable by the datasource
|
||||
def fieldtype_cast(fieldtype, value):
|
||||
if isinstance(fieldtype, EditorialModel.fieldtypes.leo.EmFieldType):
|
||||
return value.uidget()
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ class EmClass(EmComponent):
|
|||
# Building fieltypes options to match the ones stored in EditorialModel.classtypes
|
||||
ftype_opts = field.fieldtype_options()
|
||||
ftype_opts['fieldtype'] = field.fieldtype
|
||||
ftype_opts['string'] = field.string
|
||||
|
||||
ctype_opts = EditorialModel.classtypes.common_fields[field.name]
|
||||
#Adding default value for options nullable, uniq and internal to fieldtypes options stored in classtypes
|
||||
|
|
|
|||
|
|
@ -15,18 +15,21 @@ common_fields = {
|
|||
'fieldtype': 'pk',
|
||||
'internal': 'autosql',
|
||||
'immutable' : True,
|
||||
'string': '{"___": "", "fre": "identifiant lodel", "eng": "lodel identifier"}'
|
||||
},
|
||||
object_em_class_id : {
|
||||
'fieldtype': 'emuid',
|
||||
'is_id_class': True,
|
||||
'internal': 'automatic',
|
||||
'immutable' : True,
|
||||
'string': '{"___": "", "fre": "identifiant de la classe", "eng": "class identifier"}'
|
||||
},
|
||||
object_em_type_id : {
|
||||
'fieldtype': 'emuid',
|
||||
'is_id_class': False,
|
||||
'internal': 'automatic',
|
||||
'immutable' : True,
|
||||
'string': '{"___": "", "fre": "identifiant de la type", "eng": "type identifier"}'
|
||||
},
|
||||
'string': {
|
||||
'fieldtype': 'char',
|
||||
|
|
@ -34,12 +37,14 @@ common_fields = {
|
|||
'internal': 'automatic',
|
||||
'nullable': True,
|
||||
'immutable' : False,
|
||||
'string': '{"___": "", "fre": "Représentation textuel", "eng": "String representation"}',
|
||||
},
|
||||
'creation_date': {
|
||||
'fieldtype': 'datetime',
|
||||
'now_on_create': True,
|
||||
'internal': 'autosql',
|
||||
'immutable' : True,
|
||||
'string': '{"___": "", "fre": "Date de création", "eng": "Creation date"}',
|
||||
},
|
||||
'modification_date': {
|
||||
'fieldtype': 'datetime',
|
||||
|
|
@ -47,6 +52,7 @@ common_fields = {
|
|||
'now_on_update': True,
|
||||
'internal': 'autosql',
|
||||
'immutable' : True,
|
||||
'string': '{"___": "", "fre": "Date de modification", "eng": "Modification date"}',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,8 +32,7 @@ class EmComponent(object):
|
|||
self.check_type('uid', int)
|
||||
self.name = name
|
||||
self.check_type('name', str)
|
||||
self.string = MlString() if string is None else string
|
||||
self.check_type('string', MlString)
|
||||
self.string = string
|
||||
self.help_text = MlString() if help_text is None else help_text
|
||||
self.check_type('help_text', MlString)
|
||||
self.date_update = datetime.datetime.now() if date_update is None else date_update # WARNING timezone !
|
||||
|
|
@ -83,6 +82,10 @@ class EmComponent(object):
|
|||
|
||||
## @brief Reimplementation for calling the migration handler to register the change
|
||||
def __setattr__(self, attr_name, value):
|
||||
if attr_name == 'string':
|
||||
if not(isinstance(value, MlString)):
|
||||
value = MlString(value)
|
||||
super().__setattr__('string', value)
|
||||
inited = '_inited' in self.__dict__ and self.__dict__['_inited']
|
||||
if inited:
|
||||
# if fails raise MigrationHandlerChangeError
|
||||
|
|
|
|||
|
|
@ -1,603 +1,603 @@
|
|||
{
|
||||
"1": {
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "textes",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Texte\"}",
|
||||
"classtype": "entity",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"name": "textes",
|
||||
"rank": 1,
|
||||
"sortcolumn": "rank",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"rank": 1
|
||||
"classtype": "entity",
|
||||
"icon": "0",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Texte\"}",
|
||||
"help_text": "{\"___\": \"\"}"
|
||||
},
|
||||
"2": {
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "personnes",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Personnes\"}",
|
||||
"classtype": "person",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"name": "personnes",
|
||||
"rank": 1,
|
||||
"sortcolumn": "rank",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"rank": 1
|
||||
"classtype": "person",
|
||||
"icon": "0",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Personnes\"}",
|
||||
"help_text": "{\"___\": \"\"}"
|
||||
},
|
||||
"4": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "titre",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Titre\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "i18n",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"fieldtype": "i18n",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 1
|
||||
"internal": false
|
||||
},
|
||||
"5": {
|
||||
"superiors_list": {
|
||||
"parent": [
|
||||
14
|
||||
]
|
||||
},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "article",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Article\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"class_id": 1,
|
||||
"fields_list": [
|
||||
7
|
||||
],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 1,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
"superiors_list": {
|
||||
"parent": [
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"superiors_list": {},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "personne",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Personne\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"class_id": 2,
|
||||
"fields_list": [
|
||||
10
|
||||
],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 1,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
"superiors_list": {}
|
||||
},
|
||||
"7": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "soustitre",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Sous-titre\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "i18n",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 5,
|
||||
"icon": "0",
|
||||
"fieldtype": "i18n",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 5
|
||||
"internal": false
|
||||
},
|
||||
"9": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "nom",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Nom\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 1
|
||||
"internal": false
|
||||
},
|
||||
"10": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "prenom",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Pr\\u00e9nom\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 3,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 3
|
||||
"internal": false
|
||||
},
|
||||
"11": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "auteur",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Auteur\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "rel2type",
|
||||
"rel_to_type_id": 6,
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"uniq": false,
|
||||
"rank": 2
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Auteur\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 2,
|
||||
"icon": "0",
|
||||
"fieldtype": "rel2type",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"rel_to_type_id": 6,
|
||||
"internal": false
|
||||
},
|
||||
"12": {
|
||||
"nullable": true,
|
||||
"rel_field_id": 11,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "adresse",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Adresse\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 6,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": 11,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 6
|
||||
"internal": false
|
||||
},
|
||||
"13": {
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "publication",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Publication\"}",
|
||||
"classtype": "entity",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"name": "publication",
|
||||
"rank": 2,
|
||||
"sortcolumn": "rank",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"rank": 2
|
||||
"classtype": "entity",
|
||||
"icon": "0",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Publication\"}",
|
||||
"help_text": "{\"___\": \"\"}"
|
||||
},
|
||||
"14": {
|
||||
"component": "EmType",
|
||||
"name": "rubrique",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Rubrique\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"class_id": 13,
|
||||
"fields_list": [],
|
||||
"superiors_list": {
|
||||
"parent": [
|
||||
14,
|
||||
19
|
||||
]
|
||||
},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "rubrique",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Rubrique\"}",
|
||||
"class_id": 13,
|
||||
"fields_list": [],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 1,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
}
|
||||
},
|
||||
"16": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "titre",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Titre\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 13,
|
||||
"uniq": false,
|
||||
"rank": 1
|
||||
"internal": false
|
||||
},
|
||||
"18": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "age",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Age\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 5,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 5
|
||||
"internal": false
|
||||
},
|
||||
"19": {
|
||||
"superiors_list": {},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "numero",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Num\\u00e9ro\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 2,
|
||||
"icon": "0",
|
||||
"class_id": 13,
|
||||
"fields_list": [],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 2,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
"superiors_list": {}
|
||||
},
|
||||
"21": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "bleu",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Bleu\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 3,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 3
|
||||
"internal": false
|
||||
},
|
||||
"23": {
|
||||
"is_id_class": true,
|
||||
"name": "class_id",
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"class identifier\", \"fre\": \"identifiant de la classe\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"optional": false,
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": true,
|
||||
"rank": 4,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "class_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"immutable": true,
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 4
|
||||
"icon": "0"
|
||||
},
|
||||
"24": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"fieldtype": "char",
|
||||
"immutable": false,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "string",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"max_length": 128,
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"String representation\", \"fre\": \"Repr\\u00e9sentation textuel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "automatic",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 7,
|
||||
"immutable": false,
|
||||
"fieldtype": "char",
|
||||
"class_id": 1,
|
||||
"optional": false,
|
||||
"max_length": 128,
|
||||
"uniq": false,
|
||||
"rank": 7
|
||||
"icon": "0"
|
||||
},
|
||||
"25": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": false,
|
||||
"name": "type_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"type identifier\", \"fre\": \"identifiant de la type\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 8,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 1,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "type_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 8
|
||||
"icon": "0"
|
||||
},
|
||||
"26": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "lodel_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "pk",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"lodel identifier\", \"fre\": \"identifiant lodel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 9,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "pk",
|
||||
"immutable": true,
|
||||
"optional": false,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 9
|
||||
"icon": "0"
|
||||
},
|
||||
"28": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": true,
|
||||
"name": "class_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"class identifier\", \"fre\": \"identifiant de la classe\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 2,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 2,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "class_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 2
|
||||
"icon": "0"
|
||||
},
|
||||
"29": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"fieldtype": "char",
|
||||
"immutable": false,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "string",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"max_length": 128,
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"String representation\", \"fre\": \"Repr\\u00e9sentation textuel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "automatic",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 4,
|
||||
"immutable": false,
|
||||
"fieldtype": "char",
|
||||
"class_id": 2,
|
||||
"optional": false,
|
||||
"max_length": 128,
|
||||
"uniq": false,
|
||||
"rank": 4
|
||||
"icon": "0"
|
||||
},
|
||||
"30": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": false,
|
||||
"name": "type_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"type identifier\", \"fre\": \"identifiant de la type\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 6,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 2,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "type_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 6
|
||||
"icon": "0"
|
||||
},
|
||||
"31": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "lodel_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "pk",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"lodel identifier\", \"fre\": \"identifiant lodel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 7,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "pk",
|
||||
"immutable": true,
|
||||
"optional": false,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 7
|
||||
"icon": "0"
|
||||
},
|
||||
"33": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": true,
|
||||
"name": "class_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"class identifier\", \"fre\": \"identifiant de la classe\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 2,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 13,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "class_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 2
|
||||
"icon": "0"
|
||||
},
|
||||
"34": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"fieldtype": "char",
|
||||
"immutable": false,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "string",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"max_length": 128,
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"String representation\", \"fre\": \"Repr\\u00e9sentation textuel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "automatic",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 3,
|
||||
"immutable": false,
|
||||
"fieldtype": "char",
|
||||
"class_id": 13,
|
||||
"optional": false,
|
||||
"max_length": 128,
|
||||
"uniq": false,
|
||||
"rank": 3
|
||||
"icon": "0"
|
||||
},
|
||||
"35": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": false,
|
||||
"name": "type_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"type identifier\", \"fre\": \"identifiant de la type\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 4,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 13,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "type_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 4
|
||||
"icon": "0"
|
||||
},
|
||||
"36": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "lodel_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "pk",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"lodel identifier\", \"fre\": \"identifiant lodel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 5,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "pk",
|
||||
"immutable": true,
|
||||
"optional": false,
|
||||
"class_id": 13,
|
||||
"uniq": false,
|
||||
"rank": 5
|
||||
"icon": "0"
|
||||
},
|
||||
"37": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"uniq": false,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "modification_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Modification date\", \"fre\": \"Date de modification\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"optional": false,
|
||||
"class_id": 1,
|
||||
"rank": 10,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "datetime",
|
||||
"immutable": true,
|
||||
"now_on_update": true,
|
||||
"now_on_create": true,
|
||||
"rank": 10
|
||||
"rel_field_id": null,
|
||||
"immutable": true,
|
||||
"uniq": false,
|
||||
"now_on_update": true,
|
||||
"icon": "0"
|
||||
},
|
||||
"38": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "creation_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "datetime",
|
||||
"component": "EmField",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Creation date\", \"fre\": \"Date de cr\\u00e9ation\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "autosql",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"uniq": false,
|
||||
"rel_field_id": null,
|
||||
"rank": 11,
|
||||
"immutable": true,
|
||||
"fieldtype": "datetime",
|
||||
"now_on_create": true,
|
||||
"rank": 11
|
||||
"optional": false,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"icon": "0"
|
||||
},
|
||||
"39": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"uniq": false,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "modification_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Modification date\", \"fre\": \"Date de modification\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"optional": false,
|
||||
"class_id": 2,
|
||||
"rank": 8,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "datetime",
|
||||
"immutable": true,
|
||||
"now_on_update": true,
|
||||
"now_on_create": true,
|
||||
"rank": 8
|
||||
"rel_field_id": null,
|
||||
"immutable": true,
|
||||
"uniq": false,
|
||||
"now_on_update": true,
|
||||
"icon": "0"
|
||||
},
|
||||
"40": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "creation_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "datetime",
|
||||
"component": "EmField",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Creation date\", \"fre\": \"Date de cr\\u00e9ation\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "autosql",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"uniq": false,
|
||||
"rel_field_id": null,
|
||||
"rank": 9,
|
||||
"immutable": true,
|
||||
"fieldtype": "datetime",
|
||||
"now_on_create": true,
|
||||
"rank": 9
|
||||
"optional": false,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"icon": "0"
|
||||
},
|
||||
"41": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"uniq": false,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "modification_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Modification date\", \"fre\": \"Date de modification\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"optional": false,
|
||||
"class_id": 13,
|
||||
"rank": 6,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "datetime",
|
||||
"immutable": true,
|
||||
"now_on_update": true,
|
||||
"now_on_create": true,
|
||||
"rank": 6
|
||||
"rel_field_id": null,
|
||||
"immutable": true,
|
||||
"uniq": false,
|
||||
"now_on_update": true,
|
||||
"icon": "0"
|
||||
},
|
||||
"42": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "creation_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "datetime",
|
||||
"component": "EmField",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Creation date\", \"fre\": \"Date de cr\\u00e9ation\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "autosql",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"uniq": false,
|
||||
"rel_field_id": null,
|
||||
"rank": 7,
|
||||
"immutable": true,
|
||||
"fieldtype": "datetime",
|
||||
"now_on_create": true,
|
||||
"rank": 7
|
||||
"optional": false,
|
||||
"class_id": 13,
|
||||
"uniq": false,
|
||||
"icon": "0"
|
||||
}
|
||||
}
|
||||
726
install/em.json
726
install/em.json
|
|
@ -1,603 +1,603 @@
|
|||
{
|
||||
"1": {
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "textes",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Texte\"}",
|
||||
"classtype": "entity",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"name": "textes",
|
||||
"rank": 1,
|
||||
"sortcolumn": "rank",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"rank": 1
|
||||
"classtype": "entity",
|
||||
"icon": "0",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Texte\"}",
|
||||
"help_text": "{\"___\": \"\"}"
|
||||
},
|
||||
"2": {
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "personnes",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Personnes\"}",
|
||||
"classtype": "person",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"name": "personnes",
|
||||
"rank": 1,
|
||||
"sortcolumn": "rank",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"rank": 1
|
||||
"classtype": "person",
|
||||
"icon": "0",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Personnes\"}",
|
||||
"help_text": "{\"___\": \"\"}"
|
||||
},
|
||||
"4": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "titre",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Titre\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "i18n",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"fieldtype": "i18n",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 1
|
||||
"internal": false
|
||||
},
|
||||
"5": {
|
||||
"superiors_list": {
|
||||
"parent": [
|
||||
14
|
||||
]
|
||||
},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "article",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Article\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"class_id": 1,
|
||||
"fields_list": [
|
||||
7
|
||||
],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 1,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
"superiors_list": {
|
||||
"parent": [
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"superiors_list": {},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "personne",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Personne\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"class_id": 2,
|
||||
"fields_list": [
|
||||
10
|
||||
],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 1,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
"superiors_list": {}
|
||||
},
|
||||
"7": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "soustitre",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Sous-titre\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "i18n",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 5,
|
||||
"icon": "0",
|
||||
"fieldtype": "i18n",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 5
|
||||
"internal": false
|
||||
},
|
||||
"9": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "nom",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Nom\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 1
|
||||
"internal": false
|
||||
},
|
||||
"10": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "prenom",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Pr\\u00e9nom\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 3,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 3
|
||||
"internal": false
|
||||
},
|
||||
"11": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "auteur",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Auteur\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "rel2type",
|
||||
"rel_to_type_id": 6,
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"uniq": false,
|
||||
"rank": 2
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Auteur\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 2,
|
||||
"icon": "0",
|
||||
"fieldtype": "rel2type",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"rel_to_type_id": 6,
|
||||
"internal": false
|
||||
},
|
||||
"12": {
|
||||
"nullable": true,
|
||||
"rel_field_id": 11,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "adresse",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Adresse\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 6,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": 11,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 6
|
||||
"internal": false
|
||||
},
|
||||
"13": {
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "publication",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Publication\"}",
|
||||
"classtype": "entity",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"name": "publication",
|
||||
"rank": 2,
|
||||
"sortcolumn": "rank",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmClass",
|
||||
"rank": 2
|
||||
"classtype": "entity",
|
||||
"icon": "0",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Publication\"}",
|
||||
"help_text": "{\"___\": \"\"}"
|
||||
},
|
||||
"14": {
|
||||
"component": "EmType",
|
||||
"name": "rubrique",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Rubrique\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"class_id": 13,
|
||||
"fields_list": [],
|
||||
"superiors_list": {
|
||||
"parent": [
|
||||
14,
|
||||
19
|
||||
]
|
||||
},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "rubrique",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Rubrique\"}",
|
||||
"class_id": 13,
|
||||
"fields_list": [],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 1,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
}
|
||||
},
|
||||
"16": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": false,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "titre",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Titre\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": false,
|
||||
"rank": 1,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 13,
|
||||
"uniq": false,
|
||||
"rank": 1
|
||||
"internal": false
|
||||
},
|
||||
"18": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "age",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Age\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 5,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 5
|
||||
"internal": false
|
||||
},
|
||||
"19": {
|
||||
"superiors_list": {},
|
||||
"sortcolumn": "rank",
|
||||
"component": "EmType",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "numero",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Num\\u00e9ro\"}",
|
||||
"sortcolumn": "rank",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"rank": 2,
|
||||
"icon": "0",
|
||||
"class_id": 13,
|
||||
"fields_list": [],
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rank": 2,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015"
|
||||
"superiors_list": {}
|
||||
},
|
||||
"21": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": false,
|
||||
"optional": true,
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "bleu",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"fre\": \"Bleu\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "char",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"optional": true,
|
||||
"rank": 3,
|
||||
"icon": "0",
|
||||
"fieldtype": "char",
|
||||
"rel_field_id": null,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 3
|
||||
"internal": false
|
||||
},
|
||||
"23": {
|
||||
"is_id_class": true,
|
||||
"name": "class_id",
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"class identifier\", \"fre\": \"identifiant de la classe\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"optional": false,
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": true,
|
||||
"rank": 4,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "class_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"immutable": true,
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 4
|
||||
"icon": "0"
|
||||
},
|
||||
"24": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"fieldtype": "char",
|
||||
"immutable": false,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "string",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"max_length": 128,
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"String representation\", \"fre\": \"Repr\\u00e9sentation textuel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "automatic",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 7,
|
||||
"immutable": false,
|
||||
"fieldtype": "char",
|
||||
"class_id": 1,
|
||||
"optional": false,
|
||||
"max_length": 128,
|
||||
"uniq": false,
|
||||
"rank": 7
|
||||
"icon": "0"
|
||||
},
|
||||
"25": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": false,
|
||||
"name": "type_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"type identifier\", \"fre\": \"identifiant de la type\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 8,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 1,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "type_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 8
|
||||
"icon": "0"
|
||||
},
|
||||
"26": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "lodel_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "pk",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"lodel identifier\", \"fre\": \"identifiant lodel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 9,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "pk",
|
||||
"immutable": true,
|
||||
"optional": false,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"rank": 9
|
||||
"icon": "0"
|
||||
},
|
||||
"28": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": true,
|
||||
"name": "class_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"class identifier\", \"fre\": \"identifiant de la classe\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 2,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 2,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "class_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 2
|
||||
"icon": "0"
|
||||
},
|
||||
"29": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"fieldtype": "char",
|
||||
"immutable": false,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "string",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"max_length": 128,
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"String representation\", \"fre\": \"Repr\\u00e9sentation textuel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "automatic",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 4,
|
||||
"immutable": false,
|
||||
"fieldtype": "char",
|
||||
"class_id": 2,
|
||||
"optional": false,
|
||||
"max_length": 128,
|
||||
"uniq": false,
|
||||
"rank": 4
|
||||
"icon": "0"
|
||||
},
|
||||
"30": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": false,
|
||||
"name": "type_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"type identifier\", \"fre\": \"identifiant de la type\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 6,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 2,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "type_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 6
|
||||
"icon": "0"
|
||||
},
|
||||
"31": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "lodel_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "pk",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"lodel identifier\", \"fre\": \"identifiant lodel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 7,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "pk",
|
||||
"immutable": true,
|
||||
"optional": false,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"rank": 7
|
||||
"icon": "0"
|
||||
},
|
||||
"33": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": true,
|
||||
"name": "class_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"class identifier\", \"fre\": \"identifiant de la classe\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 2,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 13,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "class_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 2
|
||||
"icon": "0"
|
||||
},
|
||||
"34": {
|
||||
"nullable": true,
|
||||
"rel_field_id": null,
|
||||
"internal": "automatic",
|
||||
"optional": false,
|
||||
"fieldtype": "char",
|
||||
"immutable": false,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "string",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"max_length": 128,
|
||||
"component": "EmField",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"String representation\", \"fre\": \"Repr\\u00e9sentation textuel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "automatic",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 3,
|
||||
"immutable": false,
|
||||
"fieldtype": "char",
|
||||
"class_id": 13,
|
||||
"optional": false,
|
||||
"max_length": 128,
|
||||
"uniq": false,
|
||||
"rank": 3
|
||||
"icon": "0"
|
||||
},
|
||||
"35": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"is_id_class": false,
|
||||
"name": "type_id",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"type identifier\", \"fre\": \"identifiant de la type\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 4,
|
||||
"internal": "automatic",
|
||||
"fieldtype": "emuid",
|
||||
"class_id": 13,
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "type_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "emuid",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"nullable": false,
|
||||
"uniq": false,
|
||||
"rank": 4
|
||||
"icon": "0"
|
||||
},
|
||||
"36": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "lodel_id",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "pk",
|
||||
"date_update": "Fri Oct 16 11:05:04 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"lodel identifier\", \"fre\": \"identifiant lodel\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Fri Oct 16 11:05:04 2015",
|
||||
"rel_field_id": null,
|
||||
"rank": 5,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "pk",
|
||||
"immutable": true,
|
||||
"optional": false,
|
||||
"class_id": 13,
|
||||
"uniq": false,
|
||||
"rank": 5
|
||||
"icon": "0"
|
||||
},
|
||||
"37": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"uniq": false,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "modification_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Modification date\", \"fre\": \"Date de modification\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"optional": false,
|
||||
"class_id": 1,
|
||||
"rank": 10,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "datetime",
|
||||
"immutable": true,
|
||||
"now_on_update": true,
|
||||
"now_on_create": true,
|
||||
"rank": 10
|
||||
"rel_field_id": null,
|
||||
"immutable": true,
|
||||
"uniq": false,
|
||||
"now_on_update": true,
|
||||
"icon": "0"
|
||||
},
|
||||
"38": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "creation_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 1,
|
||||
"fieldtype": "datetime",
|
||||
"component": "EmField",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Creation date\", \"fre\": \"Date de cr\\u00e9ation\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "autosql",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"uniq": false,
|
||||
"rel_field_id": null,
|
||||
"rank": 11,
|
||||
"immutable": true,
|
||||
"fieldtype": "datetime",
|
||||
"now_on_create": true,
|
||||
"rank": 11
|
||||
"optional": false,
|
||||
"class_id": 1,
|
||||
"uniq": false,
|
||||
"icon": "0"
|
||||
},
|
||||
"39": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"uniq": false,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "modification_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Modification date\", \"fre\": \"Date de modification\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"optional": false,
|
||||
"class_id": 2,
|
||||
"rank": 8,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "datetime",
|
||||
"immutable": true,
|
||||
"now_on_update": true,
|
||||
"now_on_create": true,
|
||||
"rank": 8
|
||||
"rel_field_id": null,
|
||||
"immutable": true,
|
||||
"uniq": false,
|
||||
"now_on_update": true,
|
||||
"icon": "0"
|
||||
},
|
||||
"40": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "creation_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 2,
|
||||
"fieldtype": "datetime",
|
||||
"component": "EmField",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Creation date\", \"fre\": \"Date de cr\\u00e9ation\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "autosql",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"uniq": false,
|
||||
"rel_field_id": null,
|
||||
"rank": 9,
|
||||
"immutable": true,
|
||||
"fieldtype": "datetime",
|
||||
"now_on_create": true,
|
||||
"rank": 9
|
||||
"optional": false,
|
||||
"class_id": 2,
|
||||
"uniq": false,
|
||||
"icon": "0"
|
||||
},
|
||||
"41": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"uniq": false,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "modification_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Modification date\", \"fre\": \"Date de modification\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"component": "EmField",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"optional": false,
|
||||
"class_id": 13,
|
||||
"rank": 6,
|
||||
"internal": "autosql",
|
||||
"fieldtype": "datetime",
|
||||
"immutable": true,
|
||||
"now_on_update": true,
|
||||
"now_on_create": true,
|
||||
"rank": 6
|
||||
"rel_field_id": null,
|
||||
"immutable": true,
|
||||
"uniq": false,
|
||||
"now_on_update": true,
|
||||
"icon": "0"
|
||||
},
|
||||
"42": {
|
||||
"nullable": false,
|
||||
"rel_field_id": null,
|
||||
"internal": "autosql",
|
||||
"optional": false,
|
||||
"immutable": true,
|
||||
"component": "EmField",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"icon": "0",
|
||||
"name": "creation_date",
|
||||
"string": "{\"___\": \"\"}",
|
||||
"class_id": 13,
|
||||
"fieldtype": "datetime",
|
||||
"component": "EmField",
|
||||
"date_update": "Wed Nov 4 10:52:13 2015",
|
||||
"string": "{\"___\": \"\", \"eng\": \"Creation date\", \"fre\": \"Date de cr\\u00e9ation\"}",
|
||||
"help_text": "{\"___\": \"\"}",
|
||||
"internal": "autosql",
|
||||
"date_create": "Wed Nov 4 10:52:13 2015",
|
||||
"uniq": false,
|
||||
"rel_field_id": null,
|
||||
"rank": 7,
|
||||
"immutable": true,
|
||||
"fieldtype": "datetime",
|
||||
"now_on_create": true,
|
||||
"rank": 7
|
||||
"optional": false,
|
||||
"class_id": 13,
|
||||
"uniq": false,
|
||||
"icon": "0"
|
||||
}
|
||||
}
|
||||
|
|
@ -115,16 +115,17 @@ class {classname}(LeRel2Type):
|
|||
for rfield in [ f for f in emclass.fields() if f.fieldtype == 'rel2type']:
|
||||
fti = rfield.fieldtype_instance()
|
||||
cls_linked_types[rfield.name] = _LeCrud.name2classname(model.component(fti.rel_to_type_id).name)
|
||||
ml_fieldnames = dict()
|
||||
# Populating fieldtype attr
|
||||
for field in emclass.fields(relational = False):
|
||||
if field.name not in EditorialModel.classtypes.common_fields.keys() or not ( hasattr(field, 'immutable') and field.immutable):
|
||||
self.needed_fieldtypes |= set([field.fieldtype])
|
||||
cls_fields[field.name] = LeFactory.fieldtype_construct_from_field(field)
|
||||
fti = field.fieldtype_instance()
|
||||
if field.string.get() == '':
|
||||
field.string.set_default(field.name)
|
||||
ml_fieldnames[field.name] = field.string.dumps()
|
||||
ml_fieldnames = dict()
|
||||
for field in emclass.fields():
|
||||
if field.string.get() == '':
|
||||
field.string.set_default(field.name)
|
||||
ml_fieldnames[field.name] = field.string.dumps()
|
||||
|
||||
return """
|
||||
#Initialisation of {name} class attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue