API15

JClientHelper: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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:
<span class="editsection" style="font-size:76%;">
[[JClientHelper]] is a helper class to get, set and check for client credentials.
<nowiki>[</nowiki>[[Description:JClientHelper|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JClientHelper}}


===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>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JClientHelper|Edit See Also]]<nowiki>]</nowiki>
 
</span>
{{SeeAlso:JClientHelper}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JClientHelper
  category=JClientHelper
  category=CodeExample
  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