API17

Difference between revisions of "JClientHelper::hasCredentials"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JClientHelper::hasCredentials|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JClientHelper::hasCredentials|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</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 24:
 
|-
 
|-
 
|}
 
|}
===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/11.1|setCredentialsFromRequest]]
===Referenced by===
 
* [[setCredentialsFromRequest/11.1|setCredentialsFromRequest]]
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JClientHelper::hasCredentials source code''' on [[jplatform:client/helper.php#cl-144|BitBucket]]
 +
* {{JVer|11.1}} Class [[JClientHelper/11.1|JClientHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]]
 +
* [[JClientHelper::hasCredentials|Other versions of JClientHelper::hasCredentials]]
 +
{{SeeAlso:JClientHelper::hasCredentials}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JClientHelper::hasCredentials|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JClientHelper::hasCredentials|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JClientHelper/11.1|JClientHelper]]
+
===User contributed notes===
* [[JClientHelper::hasCredentials|Other versions of this method]]
 
{{SeeAlso:JClientHelper::hasCredentials}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 49: Line 46:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JClientHelper]][[Category:JClientHelper::hasCredentials]]</noinclude>
 
<noinclude>[[Category:JClientHelper]][[Category:JClientHelper::hasCredentials]]</noinclude>

Revision as of 20:21, 27 April 2011

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.

Template:Description:JClientHelper::hasCredentials [Edit Descripton]

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]

Template:SeeAlso:JClientHelper::hasCredentials [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />