API17:JClientHelper::setCredentials
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 40: | Line 40: | ||
boolean True if the given login credentials have been set and are valid | boolean True if the given login credentials have been set and are valid | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/client/helper.php | + | libraries/joomla/client/helper.php (line 98) |
| + | * see source code in [[jplatform:client/helper.php#cl-98|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
* [[setCredentialsFromRequest/11.1|setCredentialsFromRequest]] | * [[setCredentialsFromRequest/11.1|setCredentialsFromRequest]] | ||
Revision as of 20:06, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JClientHelper::setCredentials
Description
Method to set client login credentials.
Description:JClientHelper::setCredentials [Edit Descripton]
Since
Synopsis
public static JClientHelper::setCredentials ($client, $user, $pass)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $client | string | Client name, currently only 'ftp' is supported | |
| $user | string | Username | |
| $pass | string | Password |
Returns
boolean True if the given login credentials have been set and are valid
Defined in
libraries/joomla/client/helper.php (line 98)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JClientHelper::setCredentials
Examples
<CodeExamplesForm />
