API17:JClientHelper::getCredentials
From Joomla! Documentation
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::getCredentials
Description
Method to return the array of client layer configuration options.
Description:JClientHelper::getCredentials [Edit Descripton]
public static function getCredentials ( $client $force=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $client | string | Client name, currently only 'ftp' is supported | |
| $force | boolean | false | Forces re-creation of the login credentials. Set this to true if login credentials in the session storage have changed |
- Returns array Client layer configuration options, consisting of at least these fields: enabled, host, port, user, pass, root
- Defined on line 34 of libraries/joomla/client/helper.php
- Since
- Referenced by
See also
-
JClientHelper::getCredentials source code on BitBucket
-
Class JClientHelper
-
Subpackage Client
- Other versions of JClientHelper::getCredentials
SeeAlso:JClientHelper::getCredentials [Edit See Also]
User contributed notes
<CodeExamplesForm />
