API17

JClientHelper::setCredentials

From Joomla! Documentation

Revision as of 09:55, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

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.

Joomla 11.1 JClientHelper::setCredentials[edit]

Description[edit]

Method to set client login credentials.

{{subst:Description:JClientHelper::setCredentials}}

public static function 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 on line 98 of libraries/joomla/client/helper.php
  • Since Joomla 11.1
  • Referenced by

See also[edit]

{{subst:SeeAlso:JClientHelper::setCredentials}}

User contributed notes[edit]

<CodeExamplesForm />