API17

API17:JClientHelper::setCredentials

From Joomla! Documentation

Joomla 11.1 JClientHelper::setCredentials

Description

Method to set client login credentials.


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


User contributed notes

Code Examples