API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JClientHelper::getCredentials | ( | $ | client, |
$ | force = false |
||
) | [static] |
Method to return the array of client layer configuration options
string | Client name, currently only 'ftp' is supported |
boolean | 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, $session, JFactory::getConfig(), et JFactory::getSession().
Référencé par JFolder::copy(), JFile::copy(), JFolder::create(), JFolder::delete(), JFile::delete(), JFolder::move(), JFile::move(), ConfigControllerApplication::save(), TemplatesController::saveTemplate(), TemplatesController::saveTemplateCSS(), TemplatesController::saveTemplateSource(), setCredentials(), JFile::upload(), et JFile::write().
JClientHelper::hasCredentials | ( | $ | client | ) | [static] |
Method to determine if client login credentials are present
string | Client name, currently only 'ftp' is supported |
Références $client, $config, $return, $session, $user, JFactory::getConfig(), et JFactory::getSession().
Référencé par MediaViewMedia::display(), MediaViewImages::display(), et setCredentialsFromRequest().
JClientHelper::setCredentials | ( | $ | client, |
$ | user, | ||
$ | pass | ||
) | [static] |
Method to set client login credentials
string | Client name, currently only 'ftp' is supported |
string | Username |
string | Password |
Références $client, $config, $return, $session, $user, JFactory::getConfig(), getCredentials(), JFTP::getInstance(), JFactory::getSession(), et jimport().
Référencé par setCredentialsFromRequest().
& JClientHelper::setCredentialsFromRequest | ( | $ | client | ) | [static] |
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.
Références $client, $return, $user, JRequest::getString(), hasCredentials(), JError::raiseWarning(), et setCredentials().
Référencé par ConfigControllerApplication::cancel(), TemplatesController::cancelTemplate(), TemplatesController::chooseTemplateCSS(), MediaControllerFolder::create(), MediaControllerFolder::delete(), MediaControllerFile::delete(), InstallerController::disable(), InstallerController::doInstall(), TemplatesController::editTemplate(), TemplatesController::editTemplateCSS(), TemplatesController::editTemplateSource(), InstallerController::enable(), MediaController::ftpValidate(), InstallerController::installform(), InstallerController::manage(), TemplatesController::previewTemplate(), ConfigControllerApplication::refreshHelp(), InstallerController::remove(), ConfigControllerApplication::save(), TemplatesController::saveTemplate(), TemplatesController::saveTemplateCSS(), TemplatesController::saveTemplateSource(), ConfigApplicationView::showConfig(), et MediaControllerFile::upload().