Class Mage_Core_Model_Resource_Helper_Abstract
Abstract resource helper class
Direct known subclasses
Mage_Core_Model_Resource_Helper_Mysql4Indirect known subclasses
Mage_Backup_Model_Resource_Helper_Mysql4, Mage_Catalog_Model_Resource_Helper_Mysql4, Mage_CatalogSearch_Model_Resource_Helper_Mysql4, Mage_Eav_Model_Resource_Helper_Mysql4, Mage_ImportExport_Model_Resource_Helper_Mysql4, Mage_Index_Model_Resource_Helper_Mysql4, Mage_Reports_Model_Resource_Helper_Mysql4, Mage_Sales_Model_Resource_Helper_Mysql4
Abstract
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/Helper/Abstract.php
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/Helper/Abstract.php
public
|
|
protected
Varien_Db_Adapter_Interface
|
|
protected
Varien_Db_Adapter_Interface
|
|
protected
Varien_Db_Adapter_Interface
|
|
public
string
|
#
escapeLikeValue( string $value, array $options = array() )
Escapes value, that participates in LIKE, with '\' symbol. Note: this func cannot be used on its own, because different RDMBS may use different default escape symbols, so you should either use addLikeEscape() to produce LIKE construction, or add escape symbol on your own. |
abstract public
Zend_Db_Expr
|
#
addLikeEscape( string $value, array $options = array() )
Escapes, quotes and adds escape symbol to LIKE expression. For options and escaping see escapeLikeValue(). |
public
Zend_Db_Expr
|
|
public
array
|
#
convertOldColumnDefinition( array $column )
Converts old pre-MMDB column definition for MySQL to new cross-db column DDL definition. Used to convert data from 3rd party extensions that hasn't been updated to MMDB style yet. |
protected
Varien_Db_Adapter_Interface
|
$_readAdapter |
|
#
Read adapter instance |
protected
Varien_Db_Adapter_Interface
|
$_writeAdapter |
|
#
Write adapter instance |
protected
string
|
$_modulePrefix |
|
#
Resource helper module prefix |