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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function hasCredentials ($client) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''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 |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/client/helper.php | + | * '''Referenced by''' |
− | * | + | ** [[setCredentialsFromRequest|setCredentialsFromRequest]] |
− | |||
− | * [[setCredentialsFromRequest | ||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JClientHelper::hasCredentials source code''' on [[jplatform:client/helper.php#cl-144|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JClientHelper|JClientHelper]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Client|Client]] | |
− | * | + | * [[API17:JClientHelper::hasCredentials|Other versions of JClientHelper::hasCredentials]] |
− | * [[JClientHelper::hasCredentials|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JClientHelper::hasCredentials | category=JClientHelper::hasCredentials | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <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.
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
- Referenced by
See also[edit]
- JClientHelper::hasCredentials source code on BitBucket
- Class JClientHelper
- Subpackage Client
- Other versions of JClientHelper::hasCredentials
User contributed notes[edit]
Code Examples[edit]