JClientHelper::getCredentials
Method to return the array of client layer configuration options
Signature
public function getCredentials(string
$client,
[boolean
$force = false] )
Parameters
-
$client
- Client name, currently only 'ftp' is supported
-
$force
- Forces re-creation of the login credentials. Set this to
Returns
- array
- Client layer configuration options, consisting of at least
these fields: enabled, host, port, user, pass, root