Child pages
  • cRegistry

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The registries heart is the protected method _fetchGlobalVariable() which provides access to global data and allows to define a default value if the requested data does not exist. All other getters are build ontop of this method. A rough overview of the data that can be accessed through the registry:

  
globalmethod details
contenidogetBackendSessionId 
belanggetBackendLanguage 
editisBackendEditMode default false
langgetLanguageId default load_lang
clientgetClientId defaut load_client
idartgetArticleId default 0
idartlanggetArticleLanguageIddefault 0
idcatgetCategoryIddefault 0
idcatlanggetCategoryLanguageIddefault 0
idcatartgetCategoryArticleId default 0
sessgetSession 
authgetAuth 
permgetPerm 
cfggetConfig 
tabgetDbTableNamesfdg
_cecRegistrygetCecRegistry 

Convenience methods

Furthermore the registry is flavoured with some convenience methods to ease the development of modules and plugins.

...