Documentation 2.x

Global variables

CMS provides global variables that serves general functionalities.

  • $site - main front-end object. It provides all information about the system, current language, page and links.
  • $parametersMod - this object responsible for all modules configuration values. Use it to get all configuration values and translations.
  • $log - object for information logging.
  • $dispatcher - dispatch events

Write a comment

You must be logged in to comment.