Class Mage
Main Mage hub class
Final
Package: Mage\Core
Copyright: Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at Mage.php
Package: Mage\Core
Copyright: Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at Mage.php
public static
string
|
|
public static
array
|
|
public static
string
|
|
public static
|
|
public static
|
|
public static
|
|
public static
mixed
|
|
public static
|
|
public static
string
|
|
public static
Varien_Event_Collection
|
|
public static
Varien_Object_Cache
|
|
public static
string
|
|
public static
string
|
|
public static
mixed
|
|
public static
boolean
|
|
public static
string
|
#
getBaseUrl( string $type =
Get base URL path by type |
public static
string
|
|
public static
|
|
public static
|
|
public static
|
#
addObserver( string $eventName, callable $callback, array $data = array(), string $observerName = '', mixed $observerClass = '' )
Add observer to even object |
public static
|
|
public static
|
|
public static
|
#
getSingleton( string $modelClass = '', array $arguments = array() )
Retrieve model object singleton |
public static
Object
|
#
getResourceModel( string $modelClass, array $arguments = array() )
Retrieve object of resource model |
public static
|
#
getControllerInstance( string $class,
Retrieve Controller instance by ClassName |
public static
object
|
#
getResourceSingleton( string $modelClass = '', array $arguments = array() )
Retrieve resource vodel object singleton |
public static
object
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
protected static
|
#
_setIsInstalled( array $options = array() )
Set application isInstalled flag based on given options |
protected static
|
|
public static
boolean
|
|
public static
|
|
public static
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
|
|
public static
string
|
#
getScriptSystemUrl( string $folder, boolean $exitIfNot = false )
Define system folder directory url by virtue of running script directory name Try to find requested folder by shifting to domain root directory |
public static
|
string |
EDITION_COMMUNITY
|
'Community' |
#
Magento edition constants |
string |
EDITION_ENTERPRISE
|
'Enterprise' |
|
string |
EDITION_PROFESSIONAL
|
'Professional' |
|
string |
EDITION_GO
|
'Go' |
private static
array
|
$_registry | array() |
#
Registry collection |
private static
string
|
$_appRoot |
|
#
Application root absolute path |
private static
|
$_app |
|
#
Application model |
private static
|
$_config |
|
#
Config Model |
private static
Varien_Event_Collection
|
$_events |
|
#
Event Collection Object |
private static
Varien_Object_Cache
|
$_objects |
|
#
Object cache instance |
private static
boolean
|
$_isDownloader | false |
#
Is downloader flag |
private static
boolean
|
$_isDeveloperMode | false |
#
Is developer mode flag |
public static
boolean
|
$headersSentThrowsException | true |
#
Is allow throw Exception about headers already sent |
private static
boolean
|
$_isInstalled |
|
#
Is installed flag |
private static
string
|
$_currentEdition |
|
#
Current Magento edition. |