protected function getObra($id) { if (!$id) { $id = $this->getAcervoId($id); } // chama finder somente se possuir id, senão ocorrerá exception $obra = empty($id) ? null : App_Model_IedFinder::getBibliotecaObra($this->getBibliotecaId(), $id); return $obra; }