On Sat, 2010-09-04 at 12:43 +0200, James Pic wrote:
> Care to Show us where you're blocked ?
I am basing the router from the example on the website.
<?php
class zpRouter extends ezcMvcRouter
{
public function createRoutes()
{
// ezcMvcRailsRoute( $url, $controller_name,
$method_name )
return array(
new ezcMvcRailsRoute( '/gday', 'zpController', 'gday' ),
new ezcMvcRailsRoute( '/downloadTest',
'zpTestController', 'download' ),
new ezcMvcRailsRoute( '/:name', 'zpController',
'greetPersonally' ),
new ezcMvcRailsRoute( '/', 'zpController', 'greet' ),
);
}
}
?>
--
Kind regards
Kevin
--------------------------------------------
Chant Hare Krishna and be happy!!
--------------------------------------------