2 // +-----------------------------------------------------------------------------+
3 // Copyright (C) 2014 Z&H Consultancy Services Private Limited <sam@zhservices.com>
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
18 // A copy of the GNU General Public License is included along with this program:
19 // openemr/interface/login/GnuGPL.html
20 // For more information write to the Free Software
21 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 // Author: Vinish K <vinish@zhservices.com>
24 // +------------------------------------------------------------------------------+
25 namespace Carecoordination\Model
;
27 use Zend\Db\TableGateway\TableGateway
;
28 use Zend\Db\TableGateway\AbstractTableGateway
;
29 use Zend\Db\Adapter\Adapter
;
30 use Zend\Db\ResultSet\ResultSet
;
31 use Zend\Db\Sql\Select
;
32 use Zend\InputFilter\Factory
as InputFactory
;
33 use Zend\InputFilter\InputFilter
;
34 use Zend\InputFilter\InputFilterAwareInterface
;
35 use Zend\InputFilter\InputFilterInterface
;
37 class Moduleconfig
extends AbstractTableGateway
39 protected $inputFilter;
41 public function exchangeArray($data)
44 public function getArrayCopy()
46 return get_object_vars($this);
48 public function setInputFilter(InputFilterInterface
$inputFilter)
50 throw new \
Exception("Not used");
53 public function getInputFilter()
55 if (!$this->inputFilter
) {
56 $inputFilter = new InputFilter();
57 $factory = new InputFactory();
59 $this->inputFilter
= $inputFilter;
62 return $this->inputFilter
;