コード例 #1
0
 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;
 }