Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"model":{
- "modx":{}
- ,"modChunk":{
- "class": "modChunk",
- "extends":"modElement",
- "fields": [
- {
- "name": "id",
- "type": "int"
- }
- ,{
- "name": "name",
- "type": "string",
- "defaultValue":""
- }
- ,{
- "name": "description",
- "type": "string",
- "defaultValue":"Chunk"
- }
- ,{
- "name": "editor_type",
- "type": "int",
- "defaultValue":"0"
- }
- ,{
- "name": "category",
- "type": "int",
- "defaultValue":"0"
- }
- ,{
- "name": "cache_type",
- "type": "int",
- "defaultValue":"0"
- }
- ,{
- "name": "snippet",
- "type": "string",
- "defaultValue":""
- }
- ,{
- "name": "locked",
- "type": "boolean",
- "defaultValue":"0"
- }
- ],
- "associations": [
- {
- "type": "belongsTo",
- "model": "modCategory",
- "primaryKey": "category",
- "foreignKey": "id",
- "associationKey": "category"
- }
- ]
- }
- ,"modCategory":{
- "class": "modCategory",
- "extends":"",
- "fields": [
- {
- "name": "id",
- "type": "int"
- }
- ,{
- "name": "parent",
- "type": "int",
- "defaultValue":"0"
- }
- ,{
- "name": "category",
- "type": "string",
- "defaultValue":""
- }
- ],
- "associations": []
- }
- ,"modSnippet":{
- "class": "modSnippet",
- "extends":"modScript",
- "fields": [
- {
- "name": "id",
- "type": "int"
- }
- ,{
- "name": "cache_type",
- "type": "int",
- "defaultValue":"0"
- }
- ,{
- "name": "snippet",
- "type": "string",
- "defaultValue":""
- }
- ,{
- "name": "locked",
- "type": "boolean",
- "defaultValue":"0"
- }
- ,{
- "name": "moduleguid",
- "type": "string",
- "defaultValue":""
- }
- ],
- "associations": []
- }
- }
- }
Add Comment
Please, Sign In to add comment