Proyectos de Subversion LeadersLinked - Services

Rev

Rev 242 | Rev 257 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 242 Rev 255
Línea 94... Línea 94...
94
                            ],
94
                            ],
95
                        ],
95
                        ],
96
                    ],
96
                    ],
97
                ]
97
                ]
98
            ],
98
            ],
-
 
99
 
-
 
100
            'share' => [
-
 
101
                'type' => Segment::class,
-
 
102
                'options' => [
-
 
103
                    'route' => '/share/type/:type/code/:code/user/:user/timestamp/:timestamp/rand/:rand/password/:password',
-
 
104
                    'constraints' => [
-
 
105
                        'type' => 'feed|post',
-
 
106
                        'code' => '[A-Za-z0-9\-]+\=*',
-
 
107
                        'user' => '[A-Za-z0-9\-]+\=*',
-
 
108
                        'timestamp' => '[0-9]*',
-
 
109
                        'rand' => '[0-9]*',
-
 
110
                        'password' => '[A-Za-z0-9]*',
-
 
111
                    ],
-
 
112
                    'defaults' => [
-
 
113
                        'controller' => '\LeadersLinked\Controller\HomeController',
-
 
114
                        'action' => 'share',
-
 
115
                    ],
-
 
116
                ],
-
 
117
                'may_terminate' => true,
-
 
118
                'child_routes' => [
99
            //85a6de9c-c81e-4e47-b931-4cc32774defa
119
                    'increment-external-counter' => [
-
 
120
                        'type' => Segment::class,
-
 
121
                        'options' => [
-
 
122
                            'route' => '/increment-external-counter',
-
 
123
                            'defaults' => [
-
 
124
                                'controller' => '\LeadersLinked\Controller\HomeController',
-
 
125
                                'action' => 'incTotalExternalShared',
-
 
126
                            ],
-
 
127
                        ],
-
 
128
                    ],
-
 
129
                ]
-
 
130
            ],
-
 
131
            
-
 
132
            
100
            'shorter' => [
133
            'shorter' => [
101
                'type' => Segment::class,
134
                'type' => Segment::class,
102
                'options' => [
135
                'options' => [
103
                    'route' => '/shorter/:code',
136
                    'route' => '/shorter/:code',
104
                    'constraints' => [
137
                    'constraints' => [
Línea 224... Línea 257...
224
                        'controller' => '\LeadersLinked\Controller\HomeController',
257
                        'controller' => '\LeadersLinked\Controller\HomeController',
225
                        'action' => 'language'
258
                        'action' => 'language'
226
                    ]
259
                    ]
227
                ]
260
                ]
228
            ],
261
            ],
229
            'share' => [
-
 
230
                'type' => Segment::class,
-
 
231
                'options' => [
-
 
232
                    'route' => '/share/type/:type/code/:code/user/:user/timestamp/:timestamp/rand/:rand/password/:password',
-
 
233
                    'constraints' => [
-
 
234
                        'type' => 'feed|post',
-
 
235
                        'code' => '[A-Za-z0-9\-]+\=*',
-
 
236
                        'user' => '[A-Za-z0-9\-]+\=*',
-
 
237
                        'timestamp' => '[0-9]*',
-
 
238
                        'rand' => '[0-9]*',
-
 
239
                        'password' => '[A-Za-z0-9]*',
-
 
240
                    ],
-
 
241
                    'defaults' => [
-
 
242
                        'controller' => '\LeadersLinked\Controller\HomeController',
-
 
243
                        'action' => 'share',
-
 
244
                    ],
-
 
245
                ],
-
 
246
                'may_terminate' => true,
-
 
247
                'child_routes' => [
-
 
248
                    'increment-external-counter' => [
-
 
249
                        'type' => Segment::class,
-
 
250
                        'options' => [
-
 
251
                            'route' => '/increment-external-counter',
-
 
252
                            'defaults' => [
-
 
253
                                'controller' => '\LeadersLinked\Controller\HomeController',
-
 
254
                                'action' => 'incTotalExternalShared',
-
 
255
                            ],
-
 
256
                        ],
-
 
257
                    ],
-
 
258
                ]
-
 
259
            ],
262
            
Línea 260... Línea 263...
260
 
263
 
261
            'post' => [
264
            'post' => [
262
                'type' => Segment::class,
265
                'type' => Segment::class,
263
                'options' => [
266
                'options' => [
Línea 916... Línea 919...
916
                ]
919
                ]
917
            ],
920
            ],
918
            'dashboard' => [
921
            'dashboard' => [
919
                'type' => Segment::class,
922
                'type' => Segment::class,
920
                'options' => [
923
                'options' => [
921
                    'route' => '/dashboard[/feed/:feed]',
924
                    'route' => '/dashboard[/feed/:feed][/post/:post]',
922
                    'constraints' => [
925
                    'constraints' => [
923
                        'feed' => '[A-Za-z0-9\-]+\=*',
926
                        'feed' => '[A-Za-z0-9\-]+\=*',
-
 
927
                        'post' => '[A-Za-z0-9\-]+\=*',
924
                    ],
928
                    ],
925
                    'defaults' => [
929
                    'defaults' => [
926
                        'controller' => '\LeadersLinked\Controller\DashboardController',
930
                        'controller' => '\LeadersLinked\Controller\DashboardController',
927
                        'action' => 'index'
931
                        'action' => 'index'
928
                    ]
932
                    ]
929
                ]
933
                ]
930
            ],
934
            ],
931
            'dashboard2' => [
-
 
932
                'type' => Segment::class,
-
 
933
                'options' => [
-
 
934
                    'route' => '/dashboard2',
-
 
935
                    'defaults' => [
-
 
936
                        'controller' => '\LeadersLinked\Controller\DashboardController',
-
 
937
                        'action' => 'dashboard2'
-
 
938
                    ]
-
 
939
                ]
-
 
940
            ],
-
 
941
            'storage' => [
935
            'storage' => [
942
                'type' => Segment::class,
936
                'type' => Segment::class,
943
                'options' => [
937
                'options' => [
944
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename][/]',
938
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename][/]',
945
                    'constraints' => [
939
                    'constraints' => [