daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.           "MIGX_id":52,
  3.           "field":"category",
  4.           "caption":"Category",
  5.           "description":"",
  6.           "description_is_code":"0",
  7.           "inputTV":"",
  8.           "inputTVtype":"listbox",
  9.           "validation":"required",
  10.           "configs":"",
  11.           "restrictive_condition":"",
  12.           "display":"",
  13.           "sourceFrom":"config",
  14.           "sources":"",
  15.           "inputOptionValues":"@EVAL return 'Choose Category==||' . $modx->runSnippet('migxLoopCollection',array('packageName'=>'projects','classname'=>'ProjectCategory','tpl'=>'@CODE:[[+category]]==[[+id]]','outputSeparator'=>'||'));",
  16.           "default":"",
  17.           "useDefaultIfEmpty":"0",
  18.           "pos":3
  19.         }
  20.    
  21. <object class="ProjectCategory" table="bigblock_project_category" extends="xPDOSimpleObject">
  22.         <field key="category" dbtype="char" precision="50" phptype="string" null="false" />  
  23.         <field key="sort" dbtype="int" precision="10" phptype="integer" null="false" default="0" />
  24.         <aggregate alias="Project" class="Project" local="id" foreign="category" cardinality="many" owner="local" default="0" />  
  25.     </object>
  26.    
  27. {
  28.       "MIGX_id":13,
  29.       "header":"Project Category",
  30.       "dataIndex":"ProjectCategory_category",
  31.       "width":"",
  32.       "sortable":true,
  33.       "show_in_grid":1,
  34.       "customrenderer":"",
  35.       "renderer":"",
  36.       "clickaction":"switchOption",
  37.       "selectorconfig":"",
  38.       "renderchunktpl":"",
  39.       "renderoptions":"",
  40.       "editor":"this.listboxEditor"
  41.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top