JClientHelper: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
[[JClientHelper]] is a helper class to get, set and check for client credentials. | |||
===Defined in=== | ===Defined in=== | ||
| Line 28: | Line 25: | ||
<source lang="php">jimport( 'joomla.client.helper' );</source> | <source lang="php">jimport( 'joomla.client.helper' );</source> | ||
{{subst:SeeAlso:JClientHelper}} | |||
{{SeeAlso:JClientHelper}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:15, 24 March 2017
JClientHelper is a helper class to get, set and check for client credentials.
Defined in
libraries/joomla/client/helper.php
Methods
| Method name | Description |
|---|---|
| getCredentials | Method to return the array of client layer configuration options |
| setCredentials | Method to set client login credentials |
| hasCredentials | Method to determine if client login credentials are present |
| setCredentialsFromRequest | Determine wether input fields for client settings need to be shown |
Importing
jimport( 'joomla.client.helper' );
{{subst:SeeAlso:JClientHelper}}
Examples
<CodeExamplesForm />