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

70 lines
1.7 KiB
PHP

<% /*
$Revision$
$Id$
File: model_mld_stdmeldingfaq.inc
Description: mld_stdmeldingfaq model.
Parameters:
Context: Kennisbank
Notes:
*/
%>
<%
function model_mld_stdmeldingfaq()
{
this.table = "mld_stdmeldingfaq";
this.primary = "mld_stdmeldingfaq_key";
this.records_name = " issuetypefaqs";
this.record_name = " issuetypefaq";
this.record_title = L("mld_stdmeldingfaq");
this.records_title = L("mld_stdmeldingfaq_m");
this.module = "FAQ";
this.autfunction = "WEB_FAQMGT";
this.fields = {
"id": {
"dbs": "mld_stdmeldingfaq_key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"seq": "mld_s_mld_stdmeldingfaq_key"
},
"faq": {
"dbs": "fac_faq_key",
"label": L("lcl_faq_kennisbank_nr"),
"typ": "key",
"foreign": "fac_faq"
},
"issuediscipline": {
"dbs": "ins_discipline_key",
"label": L("mld_ins_discipline_key"),
"typ": "key",
"foreign": "MLD_DISCIPLINE"
},
"issuetype": {
"dbs": "mld_stdmelding_key",
"label": L("mld_stdmelding_key"),
"typ": "key",
"foreign": "MLD_STDMELDING"
}
};
this.list = {
"columns": [
"id",
"faq",
"issuediscipline",
"issuetype"
]
};
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);
}
%>