Ver Mensaje Individual
  #11 (permalink)  
Antiguo 15/02/2012, 18:03
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Respuesta: Paginator Zend Framework 2.0 beta

El problema es que el url ViewHelper, ha cambiado, los parámetros ahora son así:
Código PHP:
Ver original
  1. /**
  2.      * Generates an url given the name of a route.
  3.      *
  4.      * @see    Zend\Mvc\Router\Route::assemble()
  5.      * @param  string  $name               Name of the route
  6.      * @param  array   $params             Parameters for the link
  7.      * @param  array   $options            Options for the route
  8.      * @param  boolean $reuseMatchedParams Whether to reuse matched parameters
  9.      * @return string Url                  For the link href attribute
  10.      * @throws Exception\RuntimeException  If no RouteStack was provided
  11.      * @throws Exception\RuntimeException  If no RouteMatch was provided
  12.      * @throws Exception\RuntimeException  If RouteMatch didn't contain a matched route name
  13.      */
  14.     public function __invoke($name = null, array $params = array(), array $options = array(), $reuseMatchedParams = false)

Es por eso que te marca el error, por otro lado desde el DI podrías indicarle usar el mismo view, usando algo así:
Código PHP:
Ver original
  1. 'Zend\Paginator\Paginator' => array(
  2.        'view' => 'view' // alias
  3. )

Saludos.