public function indexAction() { $this->logger->entering(); $this->logger->info('Loading view parameters'); $this->view->assign(array('title' => 'Item Index', 'items' => Item::fetchAllUnsold())); $this->logger->info('Rendering the application template'); $this->render(); $this->logger->exiting(); }