JClientHelper: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JClientHelper}}
===Defined ... |
m preparing for archive only |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[JClientHelper]] is a helper class to get, set and check for client credentials. | |||
===Defined in=== | ===Defined in=== | ||
| Line 24: | Line 21: | ||
|Determine wether input fields for client settings need to be shown | |Determine wether input fields for client settings need to be shown | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.client.helper' );</source> | <source lang="php">jimport( 'joomla.client.helper' );</source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JClientHelper | category=JClientHelper | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 00:23, 25 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' );
Examples
Code Examples