Files
Facilitor/APPL/API2/model_fac_widget.inc
Erik Groener 997725c99d FSN#35338 Alle CodeCharge schermen herschrijven naar gewoon ASP II
svn path=/Website/trunk/; revision=28462
2016-03-11 09:24:23 +00:00

102 lines
2.7 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fac_widget.inc
Description:
Context:
Notes:
*/
%>
<%
function model_fac_widget()
{
this.table = "fac_widget";
this.primary = "fac_widget_key";
this.records_name = "fac_widgets";
this.record_name = "fac_widget";
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": "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"
},
"link_url": {
"dbs": "fac_widget_url",
"label": L("fac_widget_url"),
"typ": "varchar",
"required": true
},
"name": {
"dbs": "fac_widget_title",
"label": L("fac_widget_title"),
"typ": "varchar",
"filter": "like"
},
"sequence": {
"dbs": "fac_widget_volgnr",
"label": L("fac_widget_volgnr"),
"typ": "number"
},
"refreshtime": {
"dbs": "fac_widget_refreshtime",
"label": L("fac_widget_refreshtime"),
"typ": "number"
},
"widget_id": {
"dbs": "fac_widget_id",
"label": L("fac_widget_id"),
"typ": "varchar"
},
"widget_heigth": {
"dbs": "fac_widget_height",
"label": L("fac_widget_height"),
"typ": "number"
},
"widget_width": {
"dbs": "fac_widget_width",
"label": L("fac_widget_width"),
"typ": "number"
},
"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_foreign("EXT"),
"filter": "exact",
"defaultvalue": null
}
}
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, {});
}
%>