Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/06/2011, 02:53
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: Como crear e implementar los helpers

Has leído la documentación ?, hay que seguir ciertas reglas...

application/modules/default/view/helpers/Debug.php
Código PHP:
Ver original
  1. class Zend_View_Helper_Debug extends Zend_View_Helper_Abstract
  2. {
  3.     public function debug($data)
  4.     {
  5.         return '<pre>'.print_r($data).'</pre>';
  6.     }
  7. }

view
Código HTML:
Ver original
  1. <?php echo $this->debug(array(/***/)); ?>
__________________
http://es.phptherightway.com/
thats us riders :)

Última edición por masterpuppet; 10/06/2011 a las 06:07 Razón: typo