Files
Facilitor/APPL/API2/model_alg_algfaq.inc
Erik Groener 4c3d12735f AAEY#56534 API zoekveld voor kennisbank
svn path=/Website/trunk/; revision=42242
2019-04-25 10:32:50 +00:00

65 lines
1.6 KiB
PHP

<% /*
$Revision$
$Id$
File: model_alg_algfaq.inc
Description: alg_algfaq model.
Parameters:
Context: Kennisbank
Notes:
*/
%>
<%
function model_alg_algfaq()
{
this.table = "alg_algfaq";
this.primary = "alg_algfaq_key";
this.records_name = "placefaqs";
this.record_name = "placefaq";
this.record_title = L("alg_algfaq");
this.records_title = L("alg_algfaq_m");
this.module = "FAQ";
this.autfunction = "WEB_FAQMGT";
this.fields = {
"id": {
"dbs": "alg_algfaq_key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"seq": "alg_s_alg_algfaq_key"
},
"faq": {
"dbs": "fac_faq_key",
"label": L("lcl_faq_kennisbank_nr"),
"typ": "key",
"foreign": "fac_faq"
},
"location": {
"dbs": "alg_locatie_key",
"label": L("lcl_location"),
"typ": "key",
"foreign": "ALG_LOCATIE"
},
"place": {
"dbs": "alg_onroerendgoed_keys",
"label": L("lcl_plaatsgegevens"),
"typ": "key",
"foreign": {
"tbl": "alg_v_onroerendgoed_gegevens",
"key": "alg_onroerendgoed_keys",
"desc": "alg_plaatsaanduiding"
}
}
}
this.REST_GET = generic_REST_GET(this);
this.REST_PUT = generic_REST_PUT(this);
this.REST_POST = generic_REST_POST(this);
this.REST_DELETE = generic_REST_DELETE(this);
}
%>