Files
Facilitor/APPL/API2/model_user_tables.inc
Erik Groener 2454d3218d FSN#39312 Verder ontsluiten van modellen via de API
svn path=/Website/trunk/; revision=33012
2017-03-02 10:45:02 +00:00

51 lines
1.1 KiB
PHP

<% /*
$Revision$
$Id$
File: model_user_tables.inc
Description: Tables model.
Parameters:
Context:
Notes:
*/
%>
<%
function model_user_tables()
{
this.records_name = "systemtables";
this.record_name = "systemtable";
this.table = "user_tables";
this.primary = "table_name";
this.autfunction = "WEB_FACFAC";
this.fields = {
"id": {
dbs: "table_name",
typ: "varchar",
label: L("lcl_key")
},
"name": {
dbs: "table_name",
typ: "varchar",
label: "Table"
}, // dubbel voor filtering
"rows": {
dbs: "num_rows",
typ: "number",
label: "Estimated rows"
},
"analyzed": {
dbs: "last_analyzed",
typ: "datetime",
label: "Last analyzed"
}
};
this.REST_GET = generic_REST_GET(this);
this.list = { default_url: "appl/mgt/mgt_generic.asp?table={0}" };
}
%>