2 /* +-----------------------------------------------------------------------------+
3 * Copyright 2016 matrix israel
4 * LICENSE: 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 3
7 * of the License, or (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see
14 * http://www.gnu.org/licenses/licenses.html#GPL
15 * @author Oshri Rozmarin <oshri.rozmarin@gmail.com>
16 * +------------------------------------------------------------------------------+
21 /* declare all controllers */
22 'controllers' => array(
23 'invokables' => array(
24 'Multipledb\Controller\Multipledb' => 'Multipledb\Controller\MultipledbController',
29 * routing configuration.
30 * for more option and details - http://zf2.readthedocs.io/en/latest/in-depth-guide/understanding-routing.html?highlight=routing
34 'multipledb' => array(
37 'route' => '/multipledb[/:action][/:id]',
38 'constraints' => array(
39 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
43 'controller' => 'Multipledb\Controller\multipledb',
52 'view_manager' => array(
53 'template_path_stack' => array(
54 'multipledb' => __DIR__
. '/../view',
55 ),'template_map' => array(
56 'multipledb/layout/layout' => __DIR__
. '/../view/layout/layout.phtml',