Class PlgSystemLanguageFilter

Description

Joomla! Language Filter Plugin

  • since: 1.6

Located in /plugins/system/languagefilter/languagefilter.php (line 23)

JObject
   |
   --JEvent
      |
      --JPlugin
         |
         --PlgSystemLanguageFilter
Variable Summary
 static mixed $cookie
 static mixed $default_lang
 static mixed $default_sef
 static mixed $homes
 static mixed $lang_codes
 static mixed $mode_sef
 static mixed $sefs
 static mixed $tag
Method Summary
 PlgSystemLanguageFilter __construct ( &$subject,  $config)
 void buildRule ( &$router,  &$uri)
 nothing onAfterDispatch ()
 void onUserAfterSave (array $user, boolean $isnew, boolean $success, string $msg)
 void onUserBeforeSave (array $user, boolean $isnew, array $new)
 boolean onUserLogin (array $user, [array $options = array()])
 void parseRule ( &$router,  &$uri)
Variables
static mixed $cookie (line 39)
  • access: protected
static mixed $default_lang (line 35)
  • access: protected
static mixed $default_sef (line 37)
  • access: protected
static mixed $homes (line 33)
  • access: protected
static mixed $lang_codes (line 31)
  • access: protected
static mixed $mode_sef (line 25)
  • access: protected
static mixed $sefs (line 29)
  • access: protected
static mixed $tag (line 27)
  • access: protected

Inherited Variables

Inherited from JPlugin

JPlugin::$autoloadLanguage
JPlugin::$params
JPlugin::$_name
JPlugin::$_type

Inherited from JEvent

JEvent::$_subject

Inherited from JObject

JObject::$_errors
Methods
Constructor __construct (line 43)
  • access: public
PlgSystemLanguageFilter __construct ( &$subject,  $config)
  • &$subject
  • $config

Redefinition of:
JPlugin::__construct()
Constructor
buildRule (line 151)
  • access: public
void buildRule ( &$router,  &$uri)
  • &$router
  • &$uri
onAfterDispatch (line 487)

This method adds alternate meta tags for associated menu items

  • since: 1.7
  • access: public
nothing onAfterDispatch ()
onAfterInitialise (line 126)
  • access: public
void onAfterInitialise ()
onUserAfterSave (line 382)

after store user method

Method is called after user data is stored in the database

  • since: 1.6
  • access: public
void onUserAfterSave (array $user, boolean $isnew, boolean $success, string $msg)
  • array $user: Holds the new user data.
  • boolean $isnew: True if a new user is stored.
  • boolean $success: True if user was succesfully stored in the database.
  • string $msg: Message.
onUserBeforeSave (line 354)

before store user method

Method is called before user data is stored in the database

  • since: 1.6
  • access: public
void onUserBeforeSave (array $user, boolean $isnew, array $new)
  • array $user: Holds the old user data.
  • boolean $isnew: True if a new user is stored.
  • array $new: Holds the new user data.
onUserLogin (line 428)

This method should handle any login logic and report back to the subject

  • return: True on success
  • since: 1.5
  • access: public
boolean onUserLogin (array $user, [array $options = array()])
  • array $user: Holds the user data
  • array $options: Array holding options (remember, autoregister, group)
parseRule (line 230)
  • access: public
void parseRule ( &$router,  &$uri)
  • &$router
  • &$uri

Inherited Methods

Inherited From JPlugin

 JPlugin::__construct()
 JPlugin::loadLanguage()

Inherited From JEvent

 JEvent::__construct()
 JEvent::update()

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 15:06:36 +0100 by phpDocumentor 1.4.3