Advertisement
jayroncastro

Metabox

Mar 18th, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 13.40 KB | Software | 0 0
  1. {
  2.     "post_type": "meta-box",
  3.     "post_name": "turmas",
  4.     "post_title": "Turmas",
  5.     "post_date": "2024-02-27 07:49:33",
  6.     "post_status": "publish",
  7.     "post_content": "",
  8.     "settings": {
  9.         "object_type": "setting",
  10.         "settings_pages": [
  11.             "customizacao-do-sistema"
  12.         ],
  13.         "tab": "todas_turmas",
  14.         "tab_style": "",
  15.         "tab_default_active": "",
  16.         "class": "",
  17.         "prefix": "",
  18.         "text_domain": "your-text-domain",
  19.         "function_name": "your_prefix_function_name"
  20.     },
  21.     "fields": {
  22.         "group_y6co52g4neh": {
  23.             "_id": "group_y6co52g4neh",
  24.             "name": "Turma",
  25.             "id": "cg_class",
  26.             "type": "group",
  27.             "label_description": "Exibe todas as informações de uma turma",
  28.             "desc": "",
  29.             "default_state": "expanded",
  30.             "group_title": "",
  31.             "clone": true,
  32.             "min_clone": "",
  33.             "max_clone": "",
  34.             "add_button": "",
  35.             "admin_columns": {
  36.                 "position": {
  37.                     "type": "after",
  38.                     "column": "title"
  39.                 },
  40.                 "title": "",
  41.                 "before": "",
  42.                 "after": "",
  43.                 "sort": false,
  44.                 "link": false
  45.             },
  46.             "columns": 12,
  47.             "tooltip": {
  48.                 "icon": "",
  49.                 "position": "top",
  50.                 "content": ""
  51.             },
  52.             "before": "",
  53.             "after": "",
  54.             "class": "",
  55.             "save_field": true,
  56.             "sanitize_callback": "",
  57.             "fields": {
  58.                 "text_ynqsen9txbl": {
  59.                     "_id": "text_ynqsen9txbl",
  60.                     "name": "Descricao",
  61.                     "id": "cf_description",
  62.                     "type": "text",
  63.                     "label_description": "",
  64.                     "desc": "",
  65.                     "std": "",
  66.                     "placeholder": "",
  67.                     "size": "",
  68.                     "required": true,
  69.                     "prepend": "",
  70.                     "append": "",
  71.                     "datalist_choices": "",
  72.                     "min_clone": "",
  73.                     "max_clone": "",
  74.                     "add_button": "",
  75.                     "admin_columns": {
  76.                         "position": {
  77.                             "type": "after",
  78.                             "column": "title"
  79.                         },
  80.                         "title": "",
  81.                         "before": "",
  82.                         "after": "",
  83.                         "sort": false,
  84.                         "link": false
  85.                     },
  86.                     "columns": 12,
  87.                     "tooltip": {
  88.                         "icon": "",
  89.                         "position": "top",
  90.                         "content": ""
  91.                     },
  92.                     "before": "",
  93.                     "after": "",
  94.                     "class": "",
  95.                     "sanitize_callback": "",
  96.                     "save_field": true
  97.                 },
  98.                 "checkbox_rbdd1tvtbdq": {
  99.                     "_id": "checkbox_rbdd1tvtbdq",
  100.                     "name": "Matricula",
  101.                     "id": "cf_active",
  102.                     "type": "switch",
  103.                     "label_description": "",
  104.                     "desc": "",
  105.                     "style": "rounded",
  106.                     "on_label": "aberta",
  107.                     "off_label": "fechada",
  108.                     "std": true,
  109.                     "min_clone": "",
  110.                     "max_clone": "",
  111.                     "add_button": "",
  112.                     "admin_columns": {
  113.                         "position": {
  114.                             "type": "after",
  115.                             "column": "title"
  116.                         },
  117.                         "title": "",
  118.                         "before": "",
  119.                         "after": "",
  120.                         "sort": false,
  121.                         "link": false
  122.                     },
  123.                     "columns": 12,
  124.                     "tooltip": {
  125.                         "icon": "",
  126.                         "position": "top",
  127.                         "content": ""
  128.                     },
  129.                     "before": "",
  130.                     "after": "",
  131.                     "class": "",
  132.                     "sanitize_callback": "",
  133.                     "save_field": true
  134.                 },
  135.                 "select_advanced_ecobfuanaa": {
  136.                     "_id": "select_advanced_ecobfuanaa",
  137.                     "name": "Professor",
  138.                     "id": "cf_teacher",
  139.                     "type": "select_advanced",
  140.                     "label_description": "",
  141.                     "desc": "",
  142.                     "options": "callback: getTeachers",
  143.                     "std": "",
  144.                     "placeholder": "",
  145.                     "required": true,
  146.                     "min_clone": "",
  147.                     "max_clone": "",
  148.                     "add_button": "",
  149.                     "admin_columns": {
  150.                         "position": {
  151.                             "type": "after",
  152.                             "column": "title"
  153.                         },
  154.                         "title": "",
  155.                         "before": "",
  156.                         "after": "",
  157.                         "sort": false,
  158.                         "link": false
  159.                     },
  160.                     "columns": 12,
  161.                     "tooltip": {
  162.                         "icon": "",
  163.                         "position": "top",
  164.                         "content": ""
  165.                     },
  166.                     "before": "",
  167.                     "after": "",
  168.                     "class": "",
  169.                     "sanitize_callback": "",
  170.                     "save_field": true
  171.                 },
  172.                 "time_u6664zwrei": {
  173.                     "_id": "time_u6664zwrei",
  174.                     "name": "Horario de Inicio",
  175.                     "id": "cf_start_time",
  176.                     "type": "time",
  177.                     "label_description": "",
  178.                     "desc": "",
  179.                     "std": "",
  180.                     "placeholder": "",
  181.                     "size": 25,
  182.                     "js_options": {
  183.                         "erlwbnd2le6": {
  184.                             "id": "erlwbnd2le6",
  185.                             "key": "timeFormat",
  186.                             "value": "HH:mm"
  187.                         }
  188.                     },
  189.                     "min_clone": "",
  190.                     "max_clone": "",
  191.                     "add_button": "",
  192.                     "admin_columns": {
  193.                         "position": {
  194.                             "type": "after",
  195.                             "column": "title"
  196.                         },
  197.                         "title": "",
  198.                         "before": "",
  199.                         "after": "",
  200.                         "sort": false,
  201.                         "link": false
  202.                     },
  203.                     "columns": 12,
  204.                     "tooltip": {
  205.                         "icon": "",
  206.                         "position": "top",
  207.                         "content": ""
  208.                     },
  209.                     "before": "",
  210.                     "after": "",
  211.                     "class": "",
  212.                     "sanitize_callback": "",
  213.                     "save_field": true
  214.                 },
  215.                 "time_l9b1mijb0o9": {
  216.                     "_id": "time_l9b1mijb0o9",
  217.                     "name": "Horario de Termino",
  218.                     "id": "cf_end_time",
  219.                     "type": "time",
  220.                     "label_description": "",
  221.                     "desc": "",
  222.                     "std": "",
  223.                     "placeholder": "",
  224.                     "size": 25,
  225.                     "js_options": {
  226.                         "4aaahf2x4n3": {
  227.                             "id": "4aaahf2x4n3",
  228.                             "key": "timeFormat",
  229.                             "value": "HH:mm"
  230.                         }
  231.                     },
  232.                     "min_clone": "",
  233.                     "max_clone": "",
  234.                     "add_button": "",
  235.                     "admin_columns": {
  236.                         "position": {
  237.                             "type": "after",
  238.                             "column": "title"
  239.                         },
  240.                         "title": "",
  241.                         "before": "",
  242.                         "after": "",
  243.                         "sort": false,
  244.                         "link": false
  245.                     },
  246.                     "columns": 12,
  247.                     "tooltip": {
  248.                         "icon": "",
  249.                         "position": "top",
  250.                         "content": ""
  251.                     },
  252.                     "before": "",
  253.                     "after": "",
  254.                     "class": "",
  255.                     "sanitize_callback": "",
  256.                     "save_field": true
  257.                 },
  258.                 "checkbox_gv1js3398ts": {
  259.                     "_id": "checkbox_gv1js3398ts",
  260.                     "name": "Dias de Aula",
  261.                     "id": "school_days",
  262.                     "type": "checkbox_list",
  263.                     "label_description": "",
  264.                     "desc": "",
  265.                     "options": "seg: segunda-feira\r\nter: terça-feira\r\nqua: quarta-feira\r\nqui: quinta-feira\r\nsex: sexta-feira\r\nsab: sábado\r\ndom: domingo",
  266.                     "std": "",
  267.                     "inline": true,
  268.                     "min_clone": "",
  269.                     "max_clone": "",
  270.                     "add_button": "",
  271.                     "admin_columns": {
  272.                         "position": {
  273.                             "type": "after",
  274.                             "column": "title"
  275.                         },
  276.                         "title": "",
  277.                         "before": "",
  278.                         "after": "",
  279.                         "sort": false,
  280.                         "link": false
  281.                     },
  282.                     "columns": 12,
  283.                     "tooltip": {
  284.                         "icon": "",
  285.                         "position": "top",
  286.                         "content": ""
  287.                     },
  288.                     "before": "",
  289.                     "after": "",
  290.                     "class": "",
  291.                     "sanitize_callback": "",
  292.                     "save_field": true
  293.                 }
  294.             }
  295.         }
  296.     },
  297.     "data": [],
  298.     "meta_box": {
  299.         "title": "Turmas",
  300.         "id": "turmas",
  301.         "settings_pages": [
  302.             "customizacao-do-sistema"
  303.         ],
  304.         "tab": "todas_turmas",
  305.         "text_domain": "your-text-domain",
  306.         "function_name": "your_prefix_function_name",
  307.         "fields": [
  308.             {
  309.                 "name": "Turma",
  310.                 "id": "cg_class",
  311.                 "type": "group",
  312.                 "label_description": "Exibe todas as informações de uma turma",
  313.                 "clone": true,
  314.                 "fields": [
  315.                     {
  316.                         "name": "Descricao",
  317.                         "id": "cf_description",
  318.                         "type": "text",
  319.                         "required": true
  320.                     },
  321.                     {
  322.                         "name": "Matricula",
  323.                         "id": "cf_active",
  324.                         "type": "switch",
  325.                         "style": "rounded",
  326.                         "on_label": "aberta",
  327.                         "off_label": "fechada",
  328.                         "std": true
  329.                     },
  330.                     {
  331.                         "name": "Professor",
  332.                         "id": "cf_teacher",
  333.                         "type": "select_advanced",
  334.                         "required": true,
  335.                         "_callback": "getTeachers"
  336.                     },
  337.                     {
  338.                         "name": "Horario de Inicio",
  339.                         "id": "cf_start_time",
  340.                         "type": "time",
  341.                         "size": 25,
  342.                         "js_options": {
  343.                             "timeFormat": "HH:mm"
  344.                         }
  345.                     },
  346.                     {
  347.                         "name": "Horario de Termino",
  348.                         "id": "cf_end_time",
  349.                         "type": "time",
  350.                         "size": 25,
  351.                         "js_options": {
  352.                             "timeFormat": "HH:mm"
  353.                         }
  354.                     },
  355.                     {
  356.                         "name": "Dias de Aula",
  357.                         "id": "school_days",
  358.                         "type": "checkbox_list",
  359.                         "options": {
  360.                             "seg": "segunda-feira",
  361.                             "ter": "terça-feira",
  362.                             "qua": "quarta-feira",
  363.                             "qui": "quinta-feira",
  364.                             "sex": "sexta-feira",
  365.                             "sab": "sábado",
  366.                             "dom": "domingo"
  367.                         },
  368.                         "inline": true
  369.                     }
  370.                 ]
  371.             }
  372.         ]
  373.     }
  374. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement