Class Mage_Install_Model_Installer_Console

Description

Console installer

Located in /Install/Model/Installer/Console.php (line 34)

Mage_Install_Model_Installer_Abstract
   |
   --Mage_Install_Model_Installer_Console
Variable Summary
Method Summary
boolean checkConsole ([string $url = null])
string getEncryptionKey ()
array getErrors ()
boolean hasErrors ()
boolean init ( $app)
boolean install ()
boolean setArgs ([array $args = null])
boolean _checkFlag (string $value)
array _getOptions ()
Variables
Mage_Core_Model_App $_app (line 63)

Current application

  • access: protected
array $_args = array() (line 49)

Script arguments

  • access: protected

Installer data model to store data between installations steps

  • access: protected
array $_options (line 42)

Available options

  • access: protected

Inherited Variables

Inherited from Mage_Install_Model_Installer_Abstract

Mage_Install_Model_Installer_Abstract::$_installer
Methods
addError (line 182)

Add error

  • access: public
Mage_Install_Model_Installer_Console addError (string $error)
  • string $error
checkConsole (line 461)

Check if installer is run in shell, and redirect if run on web

  • access: public
boolean checkConsole ([string $url = null])
  • string $url: fallback url to redirect to
getEncryptionKey (line 242)

Get encryption key from data model

  • access: public
string getEncryptionKey ()
getErrors (line 203)

Get all errors

  • access: public
array getErrors ()
hasErrors (line 193)

Check if there were any errors

  • access: public
boolean hasErrors ()
init (line 253)

Init installation

  • access: public
boolean init ( $app)
install (line 324)

Install Magento

  • access: public
boolean install ()
printOptions (line 444)

Print available currency, locale and timezone options

  • access: public
setArgs (line 109)

Set and validate arguments

  • access: public
boolean setArgs ([array $args = null])
  • array $args
_checkFlag (line 217)

Check flag value

Returns true for 'yes', 1, 'true' Case insensitive

  • access: protected
boolean _checkFlag (string $value)
  • string $value
_getDataModel (line 229)

Get data model (used to store data between installation steps

  • access: protected
_getOptions (line 70)

Get available options list

  • access: protected
array _getOptions ()
_prepareData (line 274)

Prepare data ans save it in data model

  • access: protected

Inherited Methods

Inherited From Mage_Install_Model_Installer_Abstract

Mage_Install_Model_Installer_Abstract::_checkAdminFrontname()
Mage_Install_Model_Installer_Abstract::_checkSessionSave()
Mage_Install_Model_Installer_Abstract::_getInstaller()

Documentation generated on Fri, 11 Feb 2011 16:59:31 +0200 by phpDocumentor 1.4.3