|
Open Journal Systems
3.3.0
|
Additional Inherited Members | |
Data Fields inherited from Installer | |
| $actions | |
| $configContents | |
| $currentVersion | |
| $dataXMLParser | |
| $dbconn | |
| $descriptor | |
| $errorMsg | |
| $errorType | |
| $installedLocales | |
| $isPlugin | |
| $locale | |
| $logger | |
| $migrations = [] | |
| $newVersion | |
| $notes | |
| $params | |
| $sql | |
| $wroteConfig | |
Definition at line 33 of file PKPInstall.inc.php.
| PKPInstall::__construct | ( | $xmlDescriptor, | |
| $params, | |||
| $isPlugin | |||
| ) |
Constructor.
| $xmlDescriptor | string descriptor path |
| $params | array installer parameters |
| $isPlugin | boolean true iff a plugin is being installed |
Reimplemented from Installer.
Reimplemented in Install.
Definition at line 42 of file PKPInstall.inc.php.
References Installer\$isPlugin, and Installer\$params.
| PKPInstall::createConfig | ( | ) |
Write the configuration file.
Definition at line 227 of file PKPInstall.inc.php.
References PKPApplication\get(), Installer\getParam(), and Installer\updateConfig().
| PKPInstall::createData | ( | ) |
Create initial required data.
Definition at line 262 of file PKPInstall.inc.php.
References Installer\$locale, Validation\encryptCredentials(), PKPServices\get(), DAORegistry\getDAO(), Installer\getParam(), AppLocale\requireComponents(), and Installer\setError().
| PKPInstall::createDatabase | ( | ) |
Create a new database if required.
Definition at line 183 of file PKPInstall.inc.php.
References Installer\$sql, Installer\executeSQL(), DBConnection\getInstance(), Installer\getParam(), and Installer\setError().
| PKPInstall::createDirectories | ( | ) |
Create required files directories FIXME No longer needed since FileManager will auto-create?
Definition at line 132 of file PKPInstall.inc.php.
References getCreateDirectories(), Installer\getParam(), Config\getVar(), and Installer\setError().
| PKPInstall::getCreateDirectories | ( | ) |
Get the names of the directories to create.
Reimplemented in Install.
Definition at line 123 of file PKPInstall.inc.php.
Referenced by createDirectories().
| PKPInstall::isUpgrade | ( | ) |
Returns true iff this is an upgrade process.
Reimplemented from Installer.
Definition at line 49 of file PKPInstall.inc.php.
| PKPInstall::preInstall | ( | ) |
Pre-installation.
Reimplemented from Installer.
Definition at line 57 of file PKPInstall.inc.php.
References Version\fromString(), DBConnection\getInstance(), Installer\getParam(), PKPLocale\isLocaleValid(), and Installer\setError().