Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/06/2009, 21:38
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: ayudame a comprender el zendframework y la clase bootstrap

Pues tal cual lo indica en el Manual es para poder iniciar partes especificas, por ejemplo si quieres usar rutas personalizadas:
Código php:
Ver original
  1. protected function _initRoutes() {
  2.        $this->bootstrap('frontController');
  3.        $front = $this->getResource('frontController');
  4.        $router = $front->getRouter();
  5.        $route = new Zend_Router_Route_Static(/*blah*/);
  6.        $router->addRoute($route);
  7. }

Saludos.