コード例 #1
0
 def get_location(self):
     location = getattr(self.context.aq_base, 'location', None)
     if not location:
         return None
     else:
         if isinstance(location, unicode):
             return get_location(self.context)
         else:
             return location.to_object
コード例 #2
0
ファイル: event_summary.py プロジェクト: IMIO/cpskin.agenda
 def get_location(self):
     location = getattr(self.context.aq_base, 'location', None)
     if not location:
         return None
     else:
         if isinstance(location, unicode):
             return get_location(self.context)
         else:
             return location.to_object
コード例 #3
0
 def get_location(self, event_accessor):
     return get_location(event_accessor.context)
コード例 #4
0
 def get_location(self, event_accessor):
     return get_location(event_accessor.context)
コード例 #5
0
 def get_location(self, occ):
     return get_location(occ)
コード例 #6
0
 def get_location(self, event):
     return get_location(event)
コード例 #7
0
 def get_location(self, event):
     return get_location(event)
コード例 #8
0
ファイル: event_summary.py プロジェクト: CGTIC/Plone_SP
 def get_location(self):
     return get_location(self.context)
コード例 #9
0
 def get_location(self):
     return get_location(self.context)
コード例 #10
0
 def get_location(self, occ):
     return get_location(occ)