JClientHelper
Aus Joomla! Dokumentation
(Weitergeleitet von Joomla! Programmierung/Framework/JClientHelper)
ToDo übersetzenJClientHelper is a helper class to get, set and check for client credentials.
Inhaltsverzeichnis |
[Bearbeiten] Definiert in
- @static
- @since 1.5
[Bearbeiten] Importieren
jimport( 'joomla.client.helper' );
[Bearbeiten] Methoden
| Name | Beschreibung |
|---|---|
| getCredentials | Returns Client layer configuration options, consisting of at least these fields: enabled, host, port, user, pass, root |
| hasCredentials | Method to determine if client login credentials are present |
| setCredentials | Method to set client login credentials. Returns True if the given login credentials have been set and are valid. |
| setCredentialsFromRequest | If valid credentials were passed along with the request, they are saved to the session. This functions returns an exeption if invalid credentials have been given or if the connection to the server failed for some other reason. |
[Bearbeiten] Siehe auch
- JClientHelper auf api.joomla.org