Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/04/2011, 14:42
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Automatizar routes en ZF

y ¿porque no usas una ruta dinámica?:
Código PHP:
Ver original
  1. $route = new Zend_Controller_Router_Route(':cliente', array('controller' => 'portal', 'action' => 'index'));
  2. $router->addRoute('clientes', $route);

Saludos.