Class Mage_Core_Model_App
Application model
Application should have: areas, store, locale, translator, design package
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Core/Model/App.php
public
|
|
public
|
|
public
|
|
public
|
#
initSpecified( string|array $scopeCode, string $scopeType = null, string|array $options = array(), string|array $modules = array() )
Run light version of application with specified modules support |
public
|
|
protected
|
|
protected
|
#
_initBaseConfig( )
Initialize base system configuration (local.xml and config.xml files). Base configuration provide ability initialize DB connection and cache backend |
protected
|
|
protected
|
|
protected
boolean
|
|
protected
|
|
protected
unknown_type
|
|
public
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
public
boolean
|
|
protected
string|null
|
|
protected
string|null
|
|
public
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
getStore( null|string|boolean|integer|
Retrieve application store object |
public
|
#
getSafeStore( string|integer|
Retrieve application store object without Store_Exception |
public
array
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
Zend_Cache_Core
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
Zend_Controller_Response_Http
|
|
public
|
|
public
|
|
public
|
|
protected
|
#
_callObserverMethod( object $object, string $method, Varien_Event_Observer $observer )
Performs non-existent observer method calls protection |
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
array
|
|
public
boolean
|
|
public
|
#
clearWebsiteCache( null|boolean|integer|string|
Unset website by id from app cache |
string |
XML_PATH_INSTALL_DATE
|
'global/install/date' |
|
string |
XML_PATH_SKIP_PROCESS_MODULES_UPDATES
|
'global/skip_process_modules_updates' |
|
string |
XML_PATH_IGNORE_DEV_MODE
|
'global/skip_process_modules_updates_ignore_dev_mode' |
#
if this node set to true, we will ignore Developer Mode for applying updates |
string |
DEFAULT_ERROR_HANDLER
|
'mageCoreErrorHandler' |
|
string |
DISTRO_LOCALE_CODE
|
'en_US' |
|
string |
CACHE_TAG
|
'MAGE' |
#
Cache tag for all cache data exclude config cache |
integer |
DISTRO_STORE_ID
|
1 |
#
Default store Id (for install) |
string |
DISTRO_STORE_CODE
|
'default' |
#
Default store code (for install) |
integer |
ADMIN_STORE_ID
|
0 |
#
Admin store Id |
protected
array
|
$_areas | array() |
#
Application loaded areas array |
protected
|
$_store |
|
#
Application store object |
protected
|
$_website |
|
#
Application website object |
protected
|
$_locale |
|
#
Application location object |
protected
|
$_translator |
|
#
Application translate object |
protected
|
$_design |
|
#
Application design package object |
protected
|
$_layout |
|
#
Application layout object |
protected
|
$_config |
|
#
Application configuration object |
protected
|
$_frontController |
|
#
Application front controller |
protected
Zend_Cache_Core
|
$_cache |
|
#
Cache object |
protected
array
|
$_useCache |
|
#
Use Cache |
protected
array
|
$_websites | array() |
#
Websites cache |
protected
array
|
$_groups | array() |
#
Groups cache |
protected
array
|
$_stores | array() |
#
Stores cache |
protected
boolean
|
$_isSingleStore |
|
#
is a single store mode |
protected
boolean
|
$_isSingleStoreAllowed | true |
|
protected
string
|
$_currentStore |
|
#
Default store code |
protected
Zend_Controller_Request_Http
|
$_request |
|
#
Request object |
protected
Zend_Controller_Response_Http
|
$_response |
|
#
Response object |
protected
array
|
$_events | array() |
#
Events cache |
protected
boolean
|
$_updateMode | false |
#
Update process run flag |
protected
boolean
|
$_useSessionInUrl | true |
#
Use session in URL flag |
protected
boolean
|
$_useSessionVar | false |
#
Use session var instead of SID for session in URL |
protected
null|boolean
|
$_isCacheLocked | null |
#
Cache locked flag |