51 lines
1.1 KiB
PHP
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}" };
|
|
}
|
|
%> |