protected function _getItem() { $itemId = $this->getRequest()->getParam('id'); $item = $this->_service->load($itemId); if (empty($item)) { throw new NotFoundException($this->_getName() . ' ' . $itemId . ' not found', 404); } $this->_helper->allowed('read', $item); return $item; }