Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
Install Class Reference

Inherits PKPInstall.

Public Member Functions

 createData ()
 getCreateDirectories ()
 Install ($params, $descriptor= 'install.xml', $isPlugin=false)
- Public Member Functions inherited from PKPInstall
 createConfig ()
 createDatabase ()
 createDirectories ()
 getCreateDirectories ()
 isUpgrade ()
 PKPInstall ($xmlDescriptor, $params, $isPlugin)
 preInstall ()
- Public Member Functions inherited from Installer
 addInstallAction (&$node)
 addPluginVersions ()
 clearDataCache ()
 columnExists ($tableName, $columnName)
 destroy ()
 execute ()
 executeAction ($action)
 executeInstaller ()
 fileExists ($filePath)
 getConfigContents ()
getCurrentVersion ()
 getErrorMsg ()
 getErrorString ()
 getErrorType ()
getNewVersion ()
 getNotes ()
 getParam ($name)
 getSQL ()
 installEmailTemplate ($installer, $attr)
 Installer ($descriptor, $params=array(), $isPlugin=false)
 installFilterConfig ($filterConfigFile)
 isUpgrade ()
 parseInstaller ()
 parseInstallNodes (&$installTree)
 postInstall ()
 preInstall ()
 setError ($type, $msg)
 tableExists ($tableName)
 updateConfig ($configParams)
 updateVersion ()
 wroteConfig ()

Detailed Description

Perform system installation.

See Also
Installer, InstallForm

This script will:

  • Create the database (optionally), and install the database tables and initial data.
  • Update the config file with installation parameters.

Definition at line 28 of file

Member Function Documentation

Install::createData ( )

Create initial required data.


Definition at line 59 of file

References Validation\encryptCredentials(), DAORegistry\getDAO(), Installer\getParam(), and Installer\setError().

Install::getCreateDirectories ( )

Get the names of the directories to create.


Definition at line 49 of file

Install::Install (   $params,
  $descriptor = 'install.xml',
  $isPlugin = false 


See Also
install.form.InstallForm for the expected parameters
$paramsarray installer parameters
$descriptorstring descriptor path
$isPluginboolean true iff a plugin is being installed

Definition at line 37 of file

The documentation for this class was generated from the following file: