Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   Exponential 4.x / legacy

 
Exponential (5.x)

Exponential 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for Exponential 4.x and Legacy topics see Exponential legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Adding twig helpers about languages management (see https://jira.ez.no/browse/EZP-25601)

...

PropertyDescription
exponential.siteaccess

Returns the current siteaccess.

exponential.rootLocationReturns the root Location object
exponential.requestedUriStringReturns the requested URI string (also known as semanticPathInfo).
exponential.systemUriStringReturns the "system" URI string. System URI is the URI for internal content controller. If current route is not an URLAlias, then the current Pathinfo is returned.
exponential.viewParametersReturns the view parameters as a hash.
exponential.viewParametersStringReturns the view parameters as a string.
exponential.legacyReturns legacy information.
exponential.translationSiteAccessReturns the translation SiteAccess for a given language, or null if it cannot be found.
exponential.availableLanguagesReturns the list of available languages.
exponential.configResolverReturns the config resolver.

 

Legacy

Note

exponential.legacy is only available when viewing content in legacy fallback (e.g. no corresponding Twig templates)

...