Class Mage_Core_Model_Resource_Resource
Core Resource Resource Model
- Mage_Core_Model_Resource_Abstract
-
Mage_Core_Model_Resource_Db_Abstract
-
Mage_Core_Model_Resource_Resource
Direct known subclasses
Mage_Core_Model_Mysql4_Resource
Package: Mage\Core
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/Resource/Resource.php
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/Resource/Resource.php
protected
|
|
protected
|
#
_loadVersionData( string $needType )
Fill static versions arrays. This routine fetches Db and Data versions of at once to optimize sql requests. However, when upgrading, it's possible that 'data' column will be created only after all Db installs are passed. So $neededType contains information on main purpose of calling this routine, and even when 'data' column is absent - it won't require reissuing new sql just to get 'db' version of module. |
public
boolean|string
|
|
public
integer
|
|
public
string|false
|
|
public
|
protected static
array
|
$_versions | null |
#
Database versions |
protected static
array
|
$_dataVersions | null |
#
Resource data versions cache array |
$_commitCallbacks
|