API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JInstallationModel::__construct | ( | $ | config = array() | ) |
Constructor
Réimplémentée à partir de JModel.
Références $config, et JError::raiseError().
JInstallationModel::checkUpload | ( | ) |
Références $db, $script, JText::_(), JInstallationHelper::_chmod(), JFolder::delete(), JFile::delete(), JInstallationHelper::getDBO(), JRequest::getVar(), jimport(), JFile::move(), JInstallationHelper::preMigrate(), JInstallationHelper::unpack(), et JFile::upload().
JInstallationModel::chooseLanguage | ( | ) |
Generate a panel of language choices for the user to select their language
Références $mainframe, JLanguageHelper::createLanguageList(), JLanguageHelper::detectLanguage(), et jimport().
JInstallationModel::dbConfig | ( | ) |
Gets the parameters for database creation
Références $db, $doc, $file, $mainframe, $option, JInstallationHelper::detectDB(), et JFactory::getDocument().
JInstallationModel::dumpLoad | ( | ) |
JInstallationModel::finish | ( | ) |
Displays the finish screen
Références $mainframe, et JURI::root().
JInstallationModel::ftpConfig | ( | $ | DBcreated = '0' | ) |
Gets ftp configuration parameters
Références $doc, $mainframe, $xajax, JURI::base(), JFactory::getDocument(), et JArrayHelper::getValue().
& JInstallationModel::getData | ( | $ | key | ) |
Get data for later use
JInstallationModel::getPhpSetting | ( | $ | val | ) |
Get the local PHP settings
$val | Value to get |
& JInstallationModel::getVars | ( | ) |
Get the configuration variables for the installation
Références $session, JRequest::get(), JFactory::getSession(), et JArrayHelper::getValue().
JInstallationModel::license | ( | ) |
Gets the parameters for database creation
JInstallationModel::mainConfig | ( | ) |
Finishes configuration parameters
Références $doc, $mainframe, $xajax, JText::_(), JURI::base(), JInstallationHelper::findMigration(), JFactory::getDocument(), JRequest::getVar(), jexit(), JInstallationHelper::setFTPCfg(), et JInstallationHelper::uploadSql().
JInstallationModel::makeDB | ( | $ | vars = false | ) |
Gets the parameters for database creation
Références $db, $lang, $mainframe, $query, $type, $where, JText::_(), JInstallationHelper::backupDatabase(), JInstallationHelper::createDatabase(), JInstallationHelper::deleteDatabase(), JInstallationHelper::errors2string(), JFile::exists(), JInstallationHelper::getDBO(), JArrayHelper::getValue(), JError::isError(), jimport(), JInstallationHelper::populateDatabase(), JInstallationHelper::setDBCharset(), et JText::sprintf().
JInstallationModel::postMigrate | ( | ) |
Références $db, $error, JText::_(), JFile::delete(), JFile::exists(), JInstallationHelper::getDBO(), jimport(), et JInstallationHelper::postMigrate().
JInstallationModel::preInstall | ( | ) |
Perform a preinstall check
Références JText::_().
JInstallationModel::removedir | ( | ) |
Remove directory messages
JInstallationModel::saveConfig | ( | ) |
Save the configuration information
Write the configuration file
Références $file, $lang, $mainframe, $path, JText::_(), JPath::clean(), JInstallationHelper::createAdminUser(), JUserHelper::genRandomPassword(), JFTP::getInstance(), JFactory::getLanguage(), jimport(), et JURI::root().
JInstallationModel::setData | ( | $ | key, |
$ | value | ||
) |
Set data for later use
string | $key | Data key |
Mixed | data public |
JInstallationModel::$data = array() |
JInstallationModel::$vars = array() |