![]() |
|
|||
|
I know that the atribute _count stores the value, but how can I get it if it's protected? Is there another way to get this value?
in the controller: [PHP]$this->view->comentarios = $comentarios->fetchAll($where, $order, $count, $offset);[/PHP] in the view: [PHP]<?php echo $this->comentarios->_count ?>[/PHP] and i get this: Fatal error: Cannot access protected property Zend_Db_Table_Rowset::$_count in |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| Designed by: Miner Skinz |
Powered by vBulletin® Version 3.8.4 Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Search Engine Friendly URLs by vBSEO 3.1.0 |
![]() |