sql-injection fix in demographics
[openemr.git] / library / ESign / ButtonIF.php
blob25e9c366040c4a7fddf6abef8796723bab35ea2a
1 <?php
3 namespace ESign;
5 /**
6 * ButtonIF interface, which is used to display a button that
7 * triggers esign behavior.
8 *
9 * Copyright (C) 2013 OEMR 501c3 www.oemr.org
11 * LICENSE: This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 3
14 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
22 * @package OpenEMR
23 * @author Ken Chapple <ken@mi-squared.com>
24 * @author Medical Information Integration, LLC
25 * @link http://www.open-emr.org
26 **/
28 require_once $GLOBALS['srcdir'].'/ESign/ViewableIF.php';
29 require_once $GLOBALS['srcdir'].'/ESign/SignableIF.php';
31 interface ButtonIF extends ViewableIF
33 public function isViewable();
34 public function render( SignableIF $signable = null );
35 public function getHtml( SignableIF $signable = null );