JClientHelper::setCredentials
From Joomla! Documentation
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::setCredentials[edit]
Description[edit]
Method to set client login credentials.
Template:Description:JClientHelper::setCredentials [Edit Descripton]
Since[edit]
Synopsis[edit]
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[edit]
boolean True if the given login credentials have been set and are valid
Defined in[edit]
libraries/joomla/client/helper.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JClientHelper::setCredentials
Examples[edit]
<CodeExamplesForm />