コード例 #1
0
ファイル: components.py プロジェクト: iskodirajga/grok
 def application_url(self, name=None, skin=ASIS, data=None):
     """Return the URL of the closest :class:`grok.Application` object in
     the hierarchy or the URL of a named object (``name``
     parameter) relative to the closest application object.
     """
     return util.application_url(
         self.request, self.context, name=name, skin=skin, data=data)
コード例 #2
0
ファイル: components.py プロジェクト: grodniewicz/oship
 def application_url(self, name=None, data=None):
     return util.application_url(self.request, self.context, name, data)
コード例 #3
0
ファイル: components.py プロジェクト: grodniewicz/oship
 def application_url(self, name=None, data=None):
     """Return the URL of the nearest enclosing `grok.Application`."""
     return util.application_url(self.request, self.context, name, data)