entities/__init__.py
branchstable
changeset 3689 deb13e88e037
parent 3578 7f026d15cc82
child 3720 5376aaadd16b
child 4212 ab6573088b4a
equal deleted inserted replaced
3688:421fb447ecb2 3689:deb13e88e037
    61         """return a more detailled title for this entity"""
    61         """return a more detailled title for this entity"""
    62         return self.dc_title()
    62         return self.dc_title()
    63 
    63 
    64     def dc_description(self, format='text/plain'):
    64     def dc_description(self, format='text/plain'):
    65         """return a suitable description for this entity"""
    65         """return a suitable description for this entity"""
    66         if self.e_schema.has_subject_relation('description'):
    66         if 'description' in self.e_schema.subjrels:
    67             return self.printable_value('description', format=format)
    67             return self.printable_value('description', format=format)
    68         return u''
    68         return u''
    69 
    69 
    70     def dc_authors(self):
    70     def dc_authors(self):
    71         """return a suitable description for the author(s) of the entity"""
    71         """return a suitable description for the author(s) of the entity"""