[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/system/languagefilter/ -> languagefilter.php (summary)

(no description)

Copyright: (C) 2010 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 848 lines (32 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PlgSystemLanguageFilter:: (15 methods):
  __construct()
  onAfterInitialise()
  onAfterRoute()
  preprocessBuildRule()
  buildRule()
  postprocessSEFBuildRule()
  postprocessNonSEFBuildRule()
  parseRule()
  onPrivacyCollectAdminCapabilities()
  onUserBeforeSave()
  onUserAfterSave()
  onUserLogin()
  onAfterDispatch()
  setLanguageCookie()
  getLanguageCookie()


Class: PlgSystemLanguageFilter  - X-Ref

Joomla! Language Filter Plugin.

__construct(&$subject, $config)   X-Ref
Constructor.

param: object  &$subject  The object to observe
param: array   $config    An optional associative array of configuration settings.

onAfterInitialise()   X-Ref
After initialise.

return: void

onAfterRoute()   X-Ref
After route.

return: void

preprocessBuildRule(&$router, &$uri)   X-Ref
Add build preprocess rule to router.

param: Router  &$router  Router object.
param: Uri     &$uri     Uri object.
return: void

buildRule(&$router, &$uri)   X-Ref
Add build rule to router.

param: Router  &$router  Router object.
param: Uri     &$uri     Uri object.
return: void

postprocessSEFBuildRule(&$router, &$uri)   X-Ref
postprocess build rule for SEF URLs

param: Router  &$router  Router object.
param: Uri     &$uri     Uri object.
return: void

postprocessNonSEFBuildRule(&$router, &$uri)   X-Ref
postprocess build rule for non-SEF URLs

param: Router  &$router  Router object.
param: Uri     &$uri     Uri object.
return: void

parseRule(&$router, &$uri)   X-Ref
Add parse rule to router.

param: Router  &$router  Router object.
param: Uri     &$uri     Uri object.
return: void

onPrivacyCollectAdminCapabilities()   X-Ref
Reports the privacy related capabilities for this plugin to site administrators.

return: array

onUserBeforeSave($user, $isnew, $new)   X-Ref
Before store user method.

Method is called before user data is stored in the database.

param: array    $user   Holds the old user data.
param: boolean  $isnew  True if a new user is stored.
param: array    $new    Holds the new user data.
return: void

onUserAfterSave($user, $isnew, $success, $msg)   X-Ref
After store user method.

Method is called after user data is stored in the database.

param: array    $user     Holds the new user data.
param: boolean  $isnew    True if a new user is stored.
param: boolean  $success  True if user was successfully stored in the database.
param: string   $msg      Message.
return: void

onUserLogin($user, $options = array()   X-Ref
Method to handle any login logic and report back to the subject.

param: array  $user     Holds the user data.
param: array  $options  Array holding options (remember, autoregister, group).
return: boolean  True on success.

onAfterDispatch()   X-Ref
Method to add alternative meta tags for associated menu items.

return: void

setLanguageCookie($languageCode)   X-Ref
Set the language cookie

param: string  $languageCode  The language code for which we want to set the cookie
return: void

getLanguageCookie()   X-Ref
Get the language cookie

return: string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer