Class plgSystemLanguageFilter

Description

Joomla! Language Filter Plugin

  • since: 1.6

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

JObject
   |
   --JEvent
      |
      --JPlugin
         |
         --plgSystemLanguageFilter
Variable Summary
static mixed $cookie
static mixed $default_lang
static mixed $default_sef
static mixed $lang_codes
static mixed $mode_sef
static mixed $sefs
static mixed $tag
static mixed $_user_lang_code
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 27)
  • access: protected
static mixed $default_lang (line 24)
  • access: protected
static mixed $default_sef (line 25)
  • access: protected
static mixed $lang_codes (line 22)
  • access: protected
static mixed $mode_sef (line 19)
  • access: protected
static mixed $sefs (line 21)
  • access: protected
static mixed $tag (line 20)
  • access: protected
static mixed $_user_lang_code (line 29)
  • access: private

Inherited Variables

Inherited from JPlugin

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

Inherited from JEvent

JEvent::$_subject

Inherited from JObject

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

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

This method adds alternate meta tags for associated menu items

  • since: 1.7
  • access: public
nothing onAfterDispatch ()
onAfterInitialise (line 98)
  • access: public
void onAfterInitialise ()
onUserAfterSave (line 329)

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 302)

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 372)

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 189)
  • 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()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:56:09 -0500 by phpDocumentor 1.4.4