text changes to registration mail content
[namibia] / module / Valuation / config / module.config.php
1 <?php
2 namespace Valuation;
3 return array(
4             'doctrine' => array(
5                 'driver' => array(
6                     __NAMESPACE__ . '_driver' => array(
7                         'class' => 'Doctrine\ORM\Mapping\Driver\AnnotationDriver',
8                         'cache' => 'array',
9                         'paths' => array(__DIR__ . '/../src/' . __NAMESPACE__ . '/Entity')
10                     ),
11                     'orm_default' => array(
12                         'drivers' => array(
13                             __NAMESPACE__ . '\Entity' => __NAMESPACE__ . '_driver'
14                         )
15                     )
16                 )
17             ),
18                 'controllers' => array(
19                                 'invokables' => array(
20                                                 'Valuation\Controller\XmlRpc' => 'Valuation\Controller\XmlRpcController',
21                                                 'Valuation\Controller\Valuation' => 'Valuation\Controller\ValuationController'
22                                 ),
23                 ),
24             'router' => array(
25                 'routes' => array(
26                     'xmlrpc10server' => array(
27                         'type'    => 'literal',
28                         'options' => array(
29                             'route'    => '/xmlrpc/1.0',
30                             'defaults' => array(
31                                 'controller' => 'Valuation\Controller\XmlRpc',
32                                 'action'     => 'xmlRpcServer',
33                             ),
34                         ),
35                     ),
36                     'xmlrpc10client' => array(
37                         'type'    => 'literal',
38                         'options' => array(
39                             'route'    => '/xmlrpc/1.0/test',
40                             'defaults' => array(
41                                 'controller' => 'Valuation\Controller\XmlRpc',
42                                 'action'     => 'xmlRpcClient',
43                             ),
44                         ),
45                     ),
46                 'xmlrpc10callback' => array(
47                         'type'    => 'literal',
48                     'options' => array(
49                         'route'    => '/xmlrpc/1.0/callback',
50                         'defaults' => array(
51                             'controller' => 'Valuation\Controller\XmlRpc',
52                             'action'     => 'callback'
53                         )
54                     )
55                 ),
56                 ),
57             ),
58             'console' => array(
59                 'router' => array(
60                     'routes' => array(
61                         'xmlrpc10sentToSales' => array(
62                             'options' => array(
63                                 'route'    => 'xmlrpc sentToSales <valuationId>',
64                                 'defaults' => array(
65                                     'controller' => 'Valuation\Controller\XmlRpc',
66                                     'action'     => 'triggerSentToSales'
67                                 )
68                             )
69                         ),
70                         'xmlrpc10retryCallbacks' => array(
71                             'options' => array(
72                                 'route'    => 'xmlrpc retryCallbacks',
73                                 'defaults' => array(
74                                     'controller' => 'Valuation\Controller\XmlRpc',
75                                     'action'     => 'retryCallbacks'
76                                 )
77                             )
78                         ),
79                         'valuationchangepush' => array(
80                                 'options' => array(
81                                         'route'    => 'valuation change <changeCode> <id> <skipId>',
82                                         'defaults' => array(
83                                                 'controller' => 'Valuation\Controller\Valuation',
84                                                 'action'     => 'pushChange'
85                                         )
86                                 )
87                         )
88                     )
89                 )
90             )
91 );