I am creating a wrapper class in a Zend framework to encapsulate some data and a pagination control.
How to deduce this line from representation in the controller:
<?= $this->paginationControl($this->oPaginator, 'Sliding', 'pagination-control.phtml')?>
Thanks in advance.
... Answered my own question:
$this->view->oPaginator = $this->oPaginator; echo $this->view->paginationControl($this->view->oPaginator, 'Sliding', 'pagination-control.phtml');
source share