API17

Difference between revisions of "JClientHelper::hasCredentials"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Method to determine if client login credentials are present.  
 
Method to determine if client login credentials are present.  
  
{{Description:JClientHelper::hasCredentials}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JClientHelper::hasCredentials|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JClientHelper::hasCredentials ($client)
+
public static function hasCredentials ($client)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 22:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if login credentials are available
boolean True if login credentials are available
+
* '''Defined''' on line 152 of libraries/joomla/client/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/client/helper.php (line 152)
+
* '''Referenced by'''
* see source code in [[jplatform:client/helper.php#cl-152|BitBucket]]
+
** [[setCredentialsFromRequest|setCredentialsFromRequest]]
===Referenced by===
 
* [[setCredentialsFromRequest/11.1|setCredentialsFromRequest]]
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JClientHelper::hasCredentials source code''' on [[jplatform:client/helper.php#cl-144|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JClientHelper::hasCredentials|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JClientHelper|JClientHelper]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Client|Client]]
* [[JClientHelper/11.1|JClientHelper]]
+
* [[API17:JClientHelper::hasCredentials|Other versions of JClientHelper::hasCredentials]]
* [[JClientHelper::hasCredentials|Other versions of this method]]
+
 
{{SeeAlso:JClientHelper::hasCredentials}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JClientHelper::hasCredentials
 
category=JClientHelper::hasCredentials
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JClientHelper]][[Category:JClientHelper::hasCredentials]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:30, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JClientHelper::hasCredentials[edit]

Description[edit]

Method to determine if client login credentials are present.


public static function hasCredentials ($client)
Parameter Type Default Description
$client string Client name, currently only 'ftp' is supported
  • Returns boolean True if login credentials are available
  • Defined on line 152 of libraries/joomla/client/helper.php
  • Since Joomla 11.1
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]