fix for escaping in the code search popup
[openemr.git] / interface / forms / painmap / FormPainMap.php
blob8c463e49a32fb55c280ed6d1f178ccdffb7bc302
1 <?php
2 /*
3 * Copyright Medical Information Integration,LLC info@mi-squared.com
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * @file FormPainMap.php
11 * @brief This file ontains the FormPainMap class, used to model the data contents of a clickmap based form.
13 /* include the class we are extending. */
14 require_once ($GLOBALS['fileroot'] . "/interface/clickmap/AbstractClickmapModel.php");
16 /**
17 * @class FormPainMap
19 * @brief This class extends the AbstractClickmapModel class, to create a class for modelling the data in a pain form.
21 class FormPainMap extends AbstractClickmapModel {
23 /**
24 * The database table to place form data in/read form data from.
26 * @var TABLE_NAME
28 static $TABLE_NAME = "form_painmap";
30 /* Initializer. just alles parent's initializer. */
31 function FormPainMap($id="") {
32 parent::AbstractClickmapModel(FormPainMap::$TABLE_NAME, $id);
35 /**
36 * @brief Return the Title of the form, Useful when calling addform().
38 public function getTitle() {
39 return C_FormPainMap::$FORM_TITLE;
42 /**
43 * @brief Return the 'Code' of the form. Again, used when calling addform().
45 public function getCode() {
46 return C_FormPainMap::$FORM_CODE;