Highway to PSR2
[openemr.git] / interface / modules / zend_modules / module / Syndromicsurveillance / src / Syndromicsurveillance / Controller / ModuleconfigController.php
bloba325a45d3e538eb69dbcfd7498bcf83a19cb7d31
1 <?php
2 /* +-----------------------------------------------------------------------------+
3 * OpenEMR - Open Source Electronic Medical Record
4 * Copyright (C) 2014 Z&H Consultancy Services Private Limited <sam@zhservices.com>
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as
8 * published by the Free Software Foundation, either version 3 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 * @author Vinish K <vinish@zhservices.com>
19 * +------------------------------------------------------------------------------+
21 namespace Syndromicsurveillance\Controller;
23 use Zend\Mvc\Controller\AbstractActionController;
24 use Zend\View\Model\ViewModel;
25 use Zend\View\Model\JsonModel;
26 use Application\Listener\Listener;
28 class ModuleconfigController extends AbstractActionController
30 protected $inputFilter;
32 public function __construct()
36 public function exchangeArray($data)
40 public function getArrayCopy()
42 return get_object_vars($this);
45 public function setInputFilter(InputFilterInterface $inputFilter)
47 throw new \Exception("Not used");
50 public function getInputFilter()
52 if (!$this->inputFilter) {
53 $inputFilter = new InputFilter();
54 $factory = new InputFactory();
55 $this->inputFilter = $inputFilter;
58 return $this->inputFilter;
61 public function getHookConfig()
63 $hooks = array();
64 return $hooks;
66 public function getAclConfig()
68 $acl = array();
69 return $acl;
72 public function configSettings()
74 $settings = array();
75 return $settings;
78 public function getDependedModulesConfig()
80 return $dependedModules;