Files
Facilitor/APPL/API2/model_doc.inc
Jos Groot Lipman 99014555bd WEB_APIDOC bestond wel maar er werd nog niet op getest....
svn path=/Website/trunk/; revision=29099
2016-04-21 08:44:07 +00:00

36 lines
660 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].id };
}
this.REST_GET = generic_REST_GET(this, {});
this.xslname = "model_doc.xsl";
}
%>