Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (&$subject, $config) | |
onAfterInitialise () | |
onAfterRoute () | |
preprocessBuildRule (&$router, &$uri) | |
buildRule (&$router, &$uri) | |
postprocessSEFBuildRule (&$router, &$uri) | |
postprocessNonSEFBuildRule (&$router, &$uri) | |
parseRule (&$router, &$uri) | |
onPrivacyCollectAdminCapabilities () | |
onUserBeforeSave ($user, $isnew, $new) | |
onUserAfterSave ($user, $isnew, $success, $msg) | |
onUserLogin ($user, $options=array()) | |
onAfterDispatch () | |
Attributs protégés | |
$mode_sef | |
$sefs | |
$lang_codes | |
$current_lang | |
$default_lang | |
$app | |
Fonctions membres privées | |
setLanguageCookie ($languageCode) | |
getLanguageCookie () | |
Attributs privés | |
$user_lang_code | |
Joomla! Language Filter Plugin.
__construct | ( | & | $subject, |
$config | |||
) |
buildRule | ( | & | $router, |
& | $uri | ||
) |
|
private |
onAfterDispatch | ( | ) |
Method to add alternative meta tags for associated menu items.
Références $active, $doc, $i, $item, $language, $menu, $option, MenusHelper\getAssociations(), getDocument, JPATH_SITE, et JLoader\register().
onAfterInitialise | ( | ) |
After initialise.
onAfterRoute | ( | ) |
After route.
onPrivacyCollectAdminCapabilities | ( | ) |
Reports the privacy related capabilities for this plugin to site administrators.
onUserAfterSave | ( | $user, | |
$isnew, | |||
$success, | |||
$msg | |||
) |
After store user method.
Method is called after user data is stored in the database.
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 | ( | $user, | |
$isnew, | |||
$new | |||
) |
Before store user method.
Method is called before user data is stored in the database.
array | $user | Holds the old user data. |
boolean | $isnew | True if a new user is stored. |
array | $new | Holds the new user data. |
Références $user.
onUserLogin | ( | $user, | |
$options = array() |
|||
) |
Method to handle any login logic and report back to the subject.
array | $user | Holds the user data. |
array | $options | Array holding options (remember, autoregister, group). |
Looking for associations. If the login menu item form contains an internal URL redirection, This will override the automatic change to the user preferred site language. In that case we use the redirect as defined in the menu item. Otherwise we redirect, when available, to the user preferred site language.
The login form does not contain a menu item redirection. The active menu item has associations. We redirect to the user preferred site language associated page.
Références $active, $assoc, $item, $menu, $uri, $user, elseif, MenusHelper\getAssociations(), jimport(), et JPATH_SITE.
parseRule | ( | & | $router, |
& | $uri | ||
) |
Add parse rule to router.
JRouter | &$router | JRouter object. |
JUri | &$uri | JUri object. |
Références $extension, $files, $lang, $language, $parts, $path, $redirectUri, $uri, JPATH_ADMINISTRATOR, et JPATH_PLUGINS.
postprocessNonSEFBuildRule | ( | & | $router, |
& | $uri | ||
) |
postprocessSEFBuildRule | ( | & | $router, |
& | $uri | ||
) |
postprocess build rule for SEF URLs
JRouter | &$router | JRouter object. |
JUri | &$uri | JUri object. |
Références $uri.
preprocessBuildRule | ( | & | $router, |
& | $uri | ||
) |
|
private |
Set the language cookie
string | $languageCode | The language code for which we want to set the cookie |
Références true.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |