Files
Facilitor/APPL/API2/model_fac_widget.inc
Jos Groot Lipman 6ae6fe4113 FSN#39638 Bulk bewerken via scaffolding
svn path=/Website/trunk/; revision=32953
2017-02-24 19:52:34 +00:00

106 lines
2.8 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fac_widget.inc
Description:
Context:
Notes:
*/
%>
<%
function model_fac_widget()
{
this.records_name = "widgets";
this.record_name = "widget";
this.table = "fac_widget";
this.primary = "fac_widget_key";
this.autfunction = "WEB_PRSSYS";
this.record_title = L("fac_widget");
this.records_title = L("fac_widget_m") ;
this.fields = {
"id": {
"dbs": "fac_widget_key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"filter": "exact",
"seq": "fac_s_fac_widget_key",
"defaultvalue": null
},
"group": {
"dbs": "fac_widget_groep",
"label": L("fac_widget_groep"),
"typ": "varchar",
"required": true,
"filter": "like"
},
"linkurl": {
"dbs": "fac_widget_url",
"label": L("fac_widget_url"),
"typ": "varchar",
"required": true
},
"title": {
"dbs": "fac_widget_title",
"label": L("fac_widget_title"),
"translate": true,
"typ": "varchar",
"filter": "like",
"friendlyname": true
},
"sequence": {
"dbs": "fac_widget_volgnr",
"label": L("fac_widget_volgnr"),
"typ": "number"
},
"refreshtime": {
"dbs": "fac_widget_refreshtime",
"label": L("fac_widget_refreshtime"),
"typ": "number",
"multiedit": true
},
"widgetid": {
"dbs": "fac_widget_id",
"label": L("fac_widget_id"),
"typ": "varchar"
},
"widgetheigth": {
"dbs": "fac_widget_height",
"label": L("fac_widget_height"),
"typ": "number",
"multiedit": true
},
"widgetwidth": {
"dbs": "fac_widget_width",
"label": L("fac_widget_width"),
"typ": "number",
"multiedit": true
},
"created": {
"dbs": "fac_widget_aanmaak",
"label": L("fac_widget_aanmaak"),
"typ": "date",
"hidden_fld": true
},
"authorization": {
"dbs": "fac_functie_key",
"label": L("lcl_fac_menuautorisatie"),
"typ": "key",
"foreign": "fac_functie",
"filter": "exact",
"multiedit": true
}
}
this.REST_GET = generic_REST_GET(this);
this.REST_POST = generic_REST_POST(this);
this.REST_PUT = generic_REST_PUT(this);
this.REST_DELETE = generic_REST_DELETE(this);
}
%>