Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
ezsiteaccessoperator | Vidar Langseid | stable |
Version | Compatible with |
---|---|
1.0.0 | 4.0 |
The $GLOBALS['eZCurrentAccess'] array typically contains at least two elements:
name : Name of the siteaccess, for instance 'eng', 'nor' or 'ezwebin_site'
type : An integer identifying how the siteaccess was matched (by uri or host name for instance)
See constants defined in access.php for possible values of this variable
The operator have two usages:
{siteaccess()} : which will return the whole $GLOBALS['eZCurrentAccess'] array
{siteaccess('[key]')} : will return the element in $GLOBALS['eZCurrentAccess'] specified by [key]
Examples :
{siteaccess('type')}
{siteaccess('name')}
{siteaccess()}
The extension is available here.
The svn repository for the extension is located here.
eZSiteAccessOperator Version 1.0.0 released
Monday 18 August 2008 07:24
Vidar Langseid