Highway to PSR2
[openemr.git] / interface / modules / zend_modules / module / Immunization / src / Immunization / Controller / ModuleconfigController.php
blob264f37f139d24ac989722e3239bedb29ac6fd4e3
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 Immunization\Controller;
23 use Zend\Mvc\Controller\AbstractActionController;
24 use Zend\View\Model\ViewModel;
25 use Zend\View\Model\JsonModel;
27 use Immunization\Form\ImmunizationForm;
28 use Application\Listener\Listener;
30 class ModuleconfigController extends AbstractActionController
32 protected $inputFilter;
34 public function __construct()
38 public function exchangeArray($data)
42 public function getArrayCopy()
44 return get_object_vars($this);
47 public function setInputFilter(InputFilterInterface $inputFilter)
49 throw new \Exception("Not used");
52 public function getInputFilter()
54 if (!$this->inputFilter) {
55 $inputFilter = new InputFilter();
56 $factory = new InputFactory();
57 $this->inputFilter = $inputFilter;
60 return $this->inputFilter;
63 public function getHookConfig()
65 $hooks = array();
66 return $hooks;
69 public function getAclConfig()
71 $acl = array();
72 return $acl;
75 public function configSettings()
77 $settings = array();
78 return $settings;
81 public function getDependedModulesConfig()
83 return $dependedModules;