Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/01/2012, 09:04
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: Pasar parametro de Controller a View Helper

Algo así:

view helper
Código PHP:
Ver original
  1. ...
  2. public function list(Paginator $p)
  3. {
  4.    Debug::dump($p);  
  5. }

view
Código HTML:
Ver original
  1. echo $this->list($this->paginator);

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)