Hi All,
I'm trying to get pagination output from an object, outside the view
context, 
this is my code:

$renderer = new PhpRenderer();
$output = $renderer->paginationControl($paginator 'Sliding',
array('myscript', 'Mymodule'), array('route' => 'application/paginator') );


and this is the exception raised:

Zend\View\Renderer\PhpRenderer::render: Unable to render template
"myscript"; resolver could not resolve to a file

How to make the resolver find the template?

Thanks



-----
Sergio Rinaudo's Blog 
--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Get-paginator-output-in-a-non-view-context-tp4660107.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to