public function indexAction()
{
$bootstrap = $this->getInvokeArg('bootstrap');
$db = $bootstrap->getResource('db');
$sql = 'select * from wiersz order by tytul';
$this->view->wiersze = $db->fetchAll($sql);
}
Listing 14.28. Metoda indexAction() akcji index/index
Rozdział 14. Klasa Zend_Db_Adapter_Abstract i klasy pochodne