Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques statiques | |
static | getCredentials ($client, $force=false) |
static | setCredentials ($client, $user, $pass) |
static | hasCredentials ($client) |
static | setCredentialsFromRequest ($client) |
Client helper class
|
static |
Method to return the array of client layer configuration options
string | $client | Client name, currently only 'ftp' is supported |
boolean | $force | Forces re-creation of the login credentials. Set this to true if login credentials in the session storage have changed |
Références $client, $config, $options, et null.
Référencé par File\append(), Folder\copy(), File\copy(), Folder\create(), File\delete(), Folder\delete(), ClientWrapper\getCredentials(), File\move(), Folder\move(), File\upload(), et File\write().
|
static |
Method to determine if client login credentials are present
string | $client | Client name, currently only 'ftp' is supported |
Références $client, $config, $options, $return, $user, elseif, et null.
Référencé par ClientWrapper\hasCredentials().
|
static |
Method to set client login credentials
string | $client | Client name, currently only 'ftp' is supported |
string | $user | Username |
string | $pass | Password |
Références $client, $config, $options, $return, $user, et FtpClient\getInstance().
Référencé par ClientWrapper\setCredentials().
|
static |
Determine whether input fields for client settings need to be shown
If valid credentials were passed along with the request, they are saved to the session. This functions returns an exception if invalid credentials have been given or if the connection to the server failed for some other reason.
string | $client | The name of the client. |
Références $client, $input, $return, $user, null, et JError\raiseWarning().
Référencé par ClientWrapper\setCredentialsFromRequest().