Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "MIGX_id":52,
- "field":"category",
- "caption":"Category",
- "description":"",
- "description_is_code":"0",
- "inputTV":"",
- "inputTVtype":"listbox",
- "validation":"required",
- "configs":"",
- "restrictive_condition":"",
- "display":"",
- "sourceFrom":"config",
- "sources":"",
- "inputOptionValues":"@EVAL return 'Choose Category==||' . $modx->runSnippet('migxLoopCollection',array('packageName'=>'projects','classname'=>'ProjectCategory','tpl'=>'@CODE:[[+category]]==[[+id]]','outputSeparator'=>'||'));",
- "default":"",
- "useDefaultIfEmpty":"0",
- "pos":3
- }
- <object class="ProjectCategory" table="bigblock_project_category" extends="xPDOSimpleObject">
- <field key="category" dbtype="char" precision="50" phptype="string" null="false" />
- <field key="sort" dbtype="int" precision="10" phptype="integer" null="false" default="0" />
- <aggregate alias="Project" class="Project" local="id" foreign="category" cardinality="many" owner="local" default="0" />
- </object>
- {
- "MIGX_id":13,
- "header":"Project Category",
- "dataIndex":"ProjectCategory_category",
- "width":"",
- "sortable":true,
- "show_in_grid":1,
- "customrenderer":"",
- "renderer":"",
- "clickaction":"switchOption",
- "selectorconfig":"",
- "renderchunktpl":"",
- "renderoptions":"",
- "editor":"this.listboxEditor"
- }
Add Comment
Please, Sign In to add comment