Ver Mensaje Individual
  #12 (permalink)  
Antiguo 03/03/2011, 15:06
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: Renderizar un script de otro modulo

Me refiero a esto:
Código PHP:
Ver original
  1. function direct($module, $controller, $action)
  2.     {
  3.         $view = new Zend_View();
  4.         $view->addBasePath(APPLICATION_PATH . '/modules/' . $module . '/views');
  5.         return $view->renderScript($controller . '/' . $action . '.phtml');
  6.     }

Saludos.