'template_path_stack' => array(
'galerie' => __DIR__ . '/../view',
),
+ 'strategies' => array(
+ 'ViewJsonStrategy',
+ ),
),
'router' => array(
'routes' => array(
'verb' => 'get',
'may_terminate' => true,
'child_routes' => array(
-
'add' => array(
'type' => 'Literal',
'options' => array(
),
'verb' => 'get,post',
),
+ 'list' => array(
+ 'type' => 'Literal',
+ 'options' => array(
+ 'route' => '/liste',
+ 'defaults' => array(
+ 'action' => 'list',
+ ),
+ ),
+ 'verb' => 'get',
+ ),/*
'default' => array(
'type' => 'Segment',
'options' => array(
'defaults' => array(
),
),
- ),
+ ),*/
),
),
),
'pattern' => '%s.mo',
'text_domain' => 'galerie',
),
+ array(
+ 'type' => 'phpArray',
+ 'base_dir' => __DIR__ . '/../language/val',
+ 'pattern' => 'Zend_Validate_%s.php',
+ 'text_domain' => 'val',
+ ),
),
),
);