Liste de tous les membres
Fonctions membres publiques |
| __construct (&$subject, $config) |
| onAfterInitialise () |
| buildRule (&$router, &$uri) |
| parseRule (&$router, &$uri) |
| onUserBeforeSave ($user, $isnew, $new) |
| onUserAfterSave ($user, $isnew, $success, $msg) |
| onUserLogin ($user, $options=array()) |
| onAfterDispatch () |
| loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR) |
| __construct (&$subject) |
| update (&$args) |
| __construct ($properties=null) |
| __toString () |
| def ($property, $default=null) |
| get ($property, $default=null) |
| getProperties ($public=true) |
| getError ($i=null, $toString=true) |
| getErrors () |
| set ($property, $value=null) |
| setProperties ($properties) |
| setError ($error) |
| toString () |
Documentation des constructeurs et destructeur
plgSystemLanguageFilter::__construct |
( |
& |
$subject, |
|
|
|
$config |
|
) |
| |
Constructor
- Paramètres:
-
object | &$subject | The object to observe |
array | $config | An optional associative array of configuration settings. Recognized key values include 'name', 'group', 'params', 'language' (this list is not meant to be comprehensive). |
- Depuis:
- 11.1
Réimplémentée à partir de JPlugin.
Références $app, $config, $language, $parts, $path, $uri, $user, JFactory\getApplication(), JFactory\getConfig(), JApplication\getHash(), JLanguageHelper\getLanguages(), JComponentHelper\getParams(), JFactory\getURI(), JFactory\getUser(), JROUTER_MODE_SEF, JRequest\setVar(), JString\strlen(), JString\substr(), et JString\trim().
Documentation des fonctions membres
plgSystemLanguageFilter::buildRule |
( |
& |
$router, |
|
|
& |
$uri |
|
) |
| |
plgSystemLanguageFilter::getLangCookieTime |
( |
| ) |
|
|
private |
Getting the Language Cookie settings
- Renvoie:
- string The cookie time.
- Depuis:
- 3.0.4
plgSystemLanguageFilter::onAfterDispatch |
( |
| ) |
|
This method adds alternate meta tags for associated menu items
- Renvoie:
- nothing
- Depuis:
- 1.7
Références $active, $app, $doc, $item, $language, $link, $menu, JRoute\_(), elseif, JLanguage\exists(), JFactory\getApplication(), MenusHelper\getAssociations(), JFactory\getDocument(), JURI\getInstance(), JLanguageHelper\getLanguages(), JPATH_ADMINISTRATOR, et JLoader\register().
plgSystemLanguageFilter::onAfterInitialise |
( |
| ) |
|
plgSystemLanguageFilter::onUserAfterSave |
( |
|
$user, |
|
|
|
$isnew, |
|
|
|
$success, |
|
|
|
$msg |
|
) |
| |
plgSystemLanguageFilter::onUserBeforeSave |
( |
|
$user, |
|
|
|
$isnew, |
|
|
|
$new |
|
) |
| |
before store user method
Method is called before user data is stored in the database
- Paramètres:
-
array | $user | Holds the old user data. |
boolean | $isnew | True if a new user is stored. |
array | $new | Holds the new user data. |
- Renvoie:
- void
- Depuis:
- 1.6
Références $user.
plgSystemLanguageFilter::onUserLogin |
( |
|
$user, |
|
|
|
$options = array() |
|
) |
| |
This method should handle any login logic and report back to the subject
- Paramètres:
-
array | $user | Holds the user data |
array | $options | Array holding options (remember, autoregister, group) |
- Renvoie:
- boolean True on success
- Depuis:
- 1.5
Références $active, $app, $assoc, $menu, $tag, $user, JFactory\getApplication(), MenusHelper\getAssociations(), JFactory\getConfig(), JApplication\getHash(), et JFactory\getLanguage().
plgSystemLanguageFilter::parseRule |
( |
& |
$router, |
|
|
& |
$uri |
|
) |
| |
Références $app, $parts, $path, $tag, $uri, JURI\base(), JLanguageHelper\detectLanguage(), elseif, JLanguage\exists(), JRequest\get(), JFactory\getApplication(), JApplication\getHash(), JRequest\getString(), et null.
Documentation des données membres
plgSystemLanguageFilter::$_user_lang_code |
|
staticprivate |
plgSystemLanguageFilter::$cookie |
|
staticprotected |
plgSystemLanguageFilter::$default_lang |
|
staticprotected |
plgSystemLanguageFilter::$default_sef |
|
staticprotected |
plgSystemLanguageFilter::$homes |
|
staticprotected |
plgSystemLanguageFilter::$lang_codes |
|
staticprotected |
plgSystemLanguageFilter::$mode_sef |
|
staticprotected |
plgSystemLanguageFilter::$sefs |
|
staticprotected |
plgSystemLanguageFilter::$tag |
|
staticprotected |
La documentation de cette classe a été générée à partir du fichier suivant :