| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: helper.php 14401 2010-01-26 14:10:00Z louis $ |
| File Size: | 241 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JClientHelper:: (4 methods):
getCredentials()
setCredentials()
hasCredentials()
setCredentialsFromRequest()
Class: JClientHelper - X-Ref
Client helper class| getCredentials($client, $force=false) X-Ref |
| Method to return the array of client layer configuration options param: string Client name, currently only 'ftp' is supported param: boolean Forces re-creation of the login credentials. Set this to return: array Client layer configuration options, consisting of at least |
| setCredentials($client, $user, $pass) X-Ref |
| Method to set client login credentials param: string Client name, currently only 'ftp' is supported param: string Username param: string Password return: boolean True if the given login credentials have been set and are valid |
| hasCredentials($client) X-Ref |
| Method to determine if client login credentials are present param: string Client name, currently only 'ftp' is supported return: boolean True if login credentials are available |
| setCredentialsFromRequest($client) X-Ref |
| 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. return: boolean|JExeption True, if FTP settings should be shown, or an exeption |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |