Changeset 2691 for WAeUP_SRP/base/University.py
- Timestamp:
- 17 Nov 2007, 11:11:48 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/University.py
r821 r2691 22 22 security = ClassSecurityInfo() 23 23 24 security.declarePublic('getHallTitle')25 def getHallTitle(self,hall):26 """get the Hall Title"""27 res = ZCatalog.searchResults(self.portal_catalog,portal_type="AccoHall",id=hall)28 if res and len(res) == 1:29 return res[0].Title30 return hall31 32 24 InitializeClass(University) 33 25
Note: See TracChangeset for help on using the changeset viewer.