705 """ |
705 """ |
706 |
706 |
707 return self._params |
707 return self._params |
708 |
708 |
709 @decorators.merge_params |
709 @decorators.merge_params |
710 def getSidebarMenus(self, request, params=None): |
710 def getSidebarMenus(self, params=None): |
711 """Returns an dictionary with one sidebar entry. |
711 """Returns an dictionary with one sidebar entry. |
712 |
712 |
713 Args: |
713 Args: |
714 request: the django request object |
|
715 params: a dict with params for this View |
714 params: a dict with params for this View |
716 |
715 |
717 Params usage: |
716 Params usage: |
718 The params dictionary is passed as argument to getSidebarItems |
717 The params dictionary is passed as argument to getSidebarItems |
719 from the soc.views.sitemap.sidebar module, see the docstring |
718 from the soc.views.sitemap.sidebar module, see the docstring |
720 of _getSidebarItems on how it uses it. |
719 of _getSidebarItems on how it uses it. |
721 """ |
720 """ |
722 |
721 |
723 return sitemap.sidebar.getSidebarMenus(request, params) |
722 return sitemap.sidebar.getSidebarMenus(params=params) |
724 |
723 |
725 @decorators.merge_params |
724 @decorators.merge_params |
726 def getDjangoURLPatterns(self, params=None): |
725 def getDjangoURLPatterns(self, params=None): |
727 """Retrieves a list of sidebar entries for this view |
726 """Retrieves a list of sidebar entries for this view |
728 |
727 |