JClientHelper
Description
Client helper class
Located in /joomla/client/helper.php (line 23)
JClientHelper (Subpackage Client)
Method Summary
Methods
getCredentials (line 36)
Method to return the array of client layer configuration options
array
getCredentials
(string $client, [boolean $force = false])
- 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
hasCredentials (line 160)
Method to determine if client login credentials are present
boolean
hasCredentials
(string $client)
- string $client: Client name, currently only 'ftp' is supported
setCredentials (line 103)
Method to set client login credentials
boolean
setCredentials
(string $client, string $user, string $pass)
- string $client: Client name, currently only 'ftp' is supported
- string $user: Username
- string $pass: Password
setCredentialsFromRequest (line 221)
Determine wether 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 exeption if invalid credentials have been given or if the connection to the server failed for some other reason.
boolean|JExeption
&setCredentialsFromRequest
( $client)
- $client
Documentation generated on Mon, 05 Mar 2007 21:06:02 +0000 by phpDocumentor 1.3.1