You are missing a simple argument which is there in zend fr document. Which
would be.
$route = new
Zend_Controller_Router_Route_Regex('(de|fr|nl)/(help|hilfe|helpde)(?:/(.+))',
array(
'controller' => 'index',
'action' => 'help'
),
array(
'1' => 'sitecode',
'2' => 'help_sef_url',
'3' => 'sef_url'
),
'%s'
);
$router->addRoute('helppage_intl', $route);
Hope this helps.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Questions-about-Zend-Controller-Router-Route-mandatory-arguments-tp3694918p3696496.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]