Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/01/2011, 15:25
tracert_si
 
Fecha de Ingreso: diciembre-2010
Mensajes: 57
Antigüedad: 13 años, 4 meses
Puntos: 0
Respuesta: comienzos con zf

Bien, yo en bootstrap tengo esto que no entiendo bien, me ayudarias?
Código PHP:
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
     protected function 
_initAutoload()
     {
          
$moduleLoader = new Zend_Application_Module_Autoloader(array(
               
'namespace' => '',
               
'basePath' => APPLICATION_PATH));
          return 
$moduleLoader;
     }

     function 
_initViewHelpers()
    {
        
$this->bootstrap('layout');
       
$layout $this->getResource('layout');
       
$view $layout->getView();
       
$view->doctype('XHTML1_STRICT');
       
$view->headMeta()->appendHttpEquiv('Content-Type''text/html;charset=utf-8');
       
$view->headTitle()->setSeparator(' - ');
       
$view->headTitle('Primeros pasos en Zend Framework');
    }


}
lo que en realidad muy bien no entiendo es el $this->bootstrap("layout");