Files
Facilitor/APPL/API2/model_doc.inc
Jos Groot Lipman 68a774c4c2 FSN#39312 Verder ontsluiten van modellen via de API
svn path=/Website/trunk/; revision=33021
2017-03-02 16:52:23 +00:00

36 lines
686 B
PHP

<% /*
$Revision$
$Id$
File: model_doc.inc
Description: Doc model.
Parameters:
Context:
Notes:
*/
%>
<!-- #include file="model_apis.inc"-->
<%
function model_doc()
{
this.table = "apis";
this.primary = "id";
this.records_name = "apis";
this.record_name = "api";
this.autfunction = "WEB_APIDOC";
var apis = model_apis.REST_GET({});
this.fields = {};
for (var i = 0; i < apis.length; i++)
{
this.fields[ apis[i].id ] = { label: apis[i].name, module: apis[i].module };
}
this.REST_GET = generic_REST_GET(this, {});
this.xslname = "model_doc.xsl";
}
%>