public function delete() { if ($this->_isAllowed()) { try { $u = new Media_Persist_Dao_Image(); return $u->delete($this->_image->getId()); } catch (Exception $e) { throw $e; } } }