siteaccess_url
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Template operator siteaccess_url: the address of a siteaccess's front page (ezpSiteAccessURL::root()), with the scheme, host, port and siteaccess path the settings and the current request call for.
Description
Template operator siteaccess_url: the address of a siteaccess's front page (ezpSiteAccessURL::root()), with the scheme, host, port and siteaccess path the settings and the current request call for.
{siteaccess_url()} the site of the current siteaccess:
site.ini [SiteSettings] FrontSiteAccess,
else DefaultAccess (ezpSiteAccessURL::front())
{siteaccess_url( 'bold_ger' )} a given oneReturns an empty string for a siteaccess that does not exist.
Source
Implemented by ezpSiteAccessURLOperator (kernel/common/ezpsiteaccessurloperator.php).
See also
Generated example: siteaccess_url
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this operator.
Contributors
- Graham Brookins Updated
Comments
Add a comment