Skip to the content
Documentation

siteaccess_menu

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

Template operators of the administration's site menu (ezpSiteAccessMenu): {siteaccess_menu( $current_user )} hash enabled, front and groups: the siteaccesses with their addresses, see ezpSiteAccessMenu::current(); with a user, only the siteaccesses that user may log in to (besides the site the ...

Description

Template operators of the administration's site menu (ezpSiteAccessMenu):

{siteaccess_menu( $current_user )}  hash enabled, front and groups: the
                         siteaccesses with their addresses, see
                         ezpSiteAccessMenu::current(); with a user, only
                         the siteaccesses that user may log in to (besides
                         the site the globe opens)
{siteaccess_menu_key()}  a string for the keys of the cache-blocks that
                         draw the menu, see ezpSiteAccessMenu::key()

Both are worked out at every render, compiled or not: the addresses depend on the scheme, host and port of the request (see ezpSiteAccessURLOperator).

Source

Implemented by ezpSiteAccessMenuOperator (kernel/common/ezpsiteaccessmenuoperator.php).

See also

Generated example: siteaccess_menu

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this operator.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.