array( 'routes' => array( 'home' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/[:acces][/:id]', 'constraints' => array( 'acces' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'index', ), ), ), 'cron' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/cron[/:action]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'index', ), ), ), 'contact' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/contact', 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'contact', ), ), ), 'cas' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/authenticate', 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'casauthenticate', ), ), ), 'castest' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/authenticatetest[/:code]', 'constraints' => array( 'code' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'casauthenticatetest', ), ), ), 'fr' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/fr', 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'fr', ), ), ), 'en' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/en', 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'en', ), ), ), 'login' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/login', 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'login', ), ), ), 'backend' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/zfcuser/login', ), ), 'backend-login' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/zfcuser/login', ), ), 'list' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/list', 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'list', ), ), 'may_terminate' => true, 'child_routes' => array( 'default' => array( 'type' => 'Segment', 'options' => array( 'route' => '/[:controller[/:action[/:id]]]', 'constraints' => array( 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( ), ), ), ), ), 'ecrire_xml' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/webServices', 'defaults' => array( 'controller' => 'Application\Controller\XML', 'action' => 'index', ), ), 'may_terminate' => true, /*'child_routes' => array( 'default' => array( 'type' => 'Segment', 'route' => '/webServices[/:mode[/:xml]]', 'options' => array( 'route' => '/[/:mode[/:xml]]', 'constraints' => array( 'mode' => '[a-zA-Z][a-zA-Z0-9_-]*', 'xml' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\XML', 'action' => 'index', ), ), ), ),*/ ), 'ecrire_xml2' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/webServices/webServices[/:mode[/:xml]]', 'constraints' => array( 'mode' => '[a-zA-Z][a-zA-Z0-9_-]*', 'xml' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\XML', 'action' => 'index', ), ), 'may_terminate' => true, ), 'appServices' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/appServices/info', 'defaults' => array( 'controller' => 'Application\Controller\appServices', 'action' => 'mesInfos', ), ), 'may_terminate' => true, ), 'updateInfo' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/appServices/updateInfo', 'defaults' => array( 'controller' => 'Application\Controller\appServices', 'action' => 'updateInfo', ), ), 'may_terminate' => true, ), 'testErnest' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/testErnest', 'defaults' => array( 'controller' => 'Application\Controller\TestErnest', 'action' => 'index', ), ), 'may_terminate' => true, ), 'pms' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/pms', 'defaults' => array( 'controller' => 'Application\Controller\Pms', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'pms1' => array( 'type' => 'Segment', 'route' => '/pms[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Pms', 'action' => 'index', ), ), ), ), ), 'sig' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/sig', 'defaults' => array( 'controller' => 'Application\Controller\Sig', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'pms1' => array( 'type' => 'Segment', 'route' => '/sig[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Sig', 'action' => 'index', ), ), ), ), ), 'signature' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/signature', 'defaults' => array( 'controller' => 'Application\Controller\Signature', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'pms2' => array( 'type' => 'Segment', 'route' => '/signature[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Signature', 'action' => 'index', ), ), ), ), ), 'self' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/self', 'defaults' => array( 'controller' => 'Application\Controller\Self', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'self1' => array( 'type' => 'Segment', 'route' => '/Self[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Self', 'action' => 'index', ), ), ), ), ), 'payment' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/payment', 'defaults' => array( 'controller' => 'Application\Controller\Payment', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'payment1' => array( 'type' => 'Segment', 'route' => '/payment[/:action[/:token]]', 'options' => array( 'route' => '/[:action[/:token]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'token' => '[a-zA-Z][a-zA-Z0-9_\.-]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Payment', 'action' => 'index', ), ), ), ), ), /*'appServices' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/appServices', 'defaults' => array( 'controller' => 'Application\Controller\appServices', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'default' => array( 'type' => 'Segment', 'options' => array( 'route' => '/[:controller[/:action[/:id]]]', 'constraints' => array( 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( ), ), ), ), ),*/ /*'appServicesInfos' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/appServices', 'defaults' => array( 'controller' => 'Application\Controller\appServices', 'action' => 'index', ), ), 'may_terminate' => true, ),*/ // The following is a route to simplify getting started creating // new controllers and actions without needing to create a new // module. Simply drop new controllers in, and you can access them // using the path /application/:controller/:action 'reservation' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/reservation', 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'ecole' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'ajax' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Index', 'action' => 'index', ), ), ), 'infos' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'logement' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id[/:extra]]]', 'options' => array( 'route' => '/[:action[/:id[/:extra]]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', 'extra' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'recap' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'resa' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', 'extra' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'paiement' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9a-zA-Z]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'payer' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9a-zA-Z]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'conditions' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9a-zA-Z]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'paiementok' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9a-zA-Z]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'paiementko' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9a-zA-Z]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'soap' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9a-zA-Z]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'paiementcancel' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9a-zA-Z]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'paiementvalide' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id]]', 'options' => array( 'route' => '/[:action[/:id]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), 'valider' => array( 'type' => 'Segment', 'route' => '/reservation[/:action[/:id[/:extra]]]', 'options' => array( 'route' => '/[:action[/:id[/:extra]]]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', 'extra' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Application\Controller\Reservation', 'action' => 'index', ), ), ), ), ), ), ), 'bjyauthorize' => array( 'unauthorized_strategy' => 'Application\View\UnauthorizedStrategy', ), 'service_manager' => array( 'abstract_factories' => array( 'Zend\Cache\Service\StorageCacheAbstractServiceFactory', 'Zend\Log\LoggerAbstractServiceFactory', ), 'aliases' => array( 'translator' => 'MvcTranslator', ), 'factories' => array( 'BjyAuthorize\View\UnauthorizedStrategy' => 'Application\View\UnauthorizedStrategy', ), ), 'translator' => array( 'locale' => 'fr_FR', 'translation_file_patterns' => array( array( 'type' => 'gettext', 'base_dir' => __DIR__ . '/../language', 'pattern' => '%s.mo', ), ), ), 'controllers' => array( 'invokables' => array( 'Application\Controller\Index' => 'Application\Controller\IndexController', 'Application\Controller\Reservation' => 'Application\Controller\ReservationController', 'Application\Controller\XML' => 'Application\Controller\XMLController', 'Application\Controller\appServices' => 'Application\Controller\appServicesController', 'Application\Controller\TestErnest' => 'Application\Controller\TestErnestController', 'Application\Controller\Pms' => 'Application\Controller\PmsController', 'Application\Controller\Sig' => 'Application\Controller\SigController', 'Application\Controller\Signature' => 'Application\Controller\SignatureController', 'Application\Controller\Payment' => 'Application\Controller\PaymentController', 'Application\Controller\Self' => 'Application\Controller\SelfController', ), ), 'view_manager' => array( 'display_not_found_reason' => true, 'display_exceptions' => true, 'doctype' => 'HTML5', 'not_found_template' => 'error/404', 'exception_template' => 'error/index', 'template_map' => array( 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', 'application/index/index' => __DIR__ . '/../view/application/index/index.phtml', 'error/404' => __DIR__ . '/../view/error/404.phtml', 'error/index' => __DIR__ . '/../view/error/index.phtml', ), 'template_path_stack' => array( __DIR__ . '/../view', ), //other configuration 'strategies' => array( 'ViewJsonStrategy', ), ), // Placeholder for console routes 'console' => array( 'router' => array( 'routes' => array( ), ), ), );