Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Backup_Exception
  • Mage_Backup_Helper_Data
  • Mage_Backup_Model_Backup
  • Mage_Backup_Model_Config_Backend_Cron
  • Mage_Backup_Model_Config_Source_Type
  • Mage_Backup_Model_Db
  • Mage_Backup_Model_Fs_Collection
  • Mage_Backup_Model_Mysql4_Db
  • Mage_Backup_Model_Observer
  • Mage_Backup_Model_Resource_Db
  • Mage_Backup_Model_Resource_Helper_Mysql4
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Backup_Model_Resource_Helper_Mysql4

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Mage_Core_Model_Resource_Helper_Abstract
Extended by Mage_Core_Model_Resource_Helper_Mysql4
Extended by Mage_Backup_Model_Resource_Helper_Mysql4
Package: Mage\Backup
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Backup/Model/Resource/Helper/Mysql4.php
Methods summary
public string
# getTableDropSql( string $tableName )

Retrieve SQL fragment for drop table

Retrieve SQL fragment for drop table

Parameters

$tableName
string
$tableName

Returns

string
public string|false
# getTableForeignKeysSql( string|null $tableName = null )

Retrieve foreign keys for table(s)

Retrieve foreign keys for table(s)

Parameters

$tableName
string|null
$tableName

Returns

string|false
protected string
# _buildForeignKeysAlterTableSql( string $tableName, array $foreignKeys )

Build sql that will add foreign keys to it

Build sql that will add foreign keys to it

Parameters

$tableName
string
$tableName
$foreignKeys
array
$foreignKeys

Returns

string
public string
# getTableCreateScript( string $tableName, boolean $addDropIfExists = false )

Get create script for table

Get create script for table

Parameters

$tableName
string
$tableName
$addDropIfExists
boolean
$addDropIfExists

Returns

string
public string
# getTableCreateSql( string $tableName, boolean $withForeignKeys = false )

Retrieve SQL fragment for create table

Retrieve SQL fragment for create table

Parameters

$tableName
string
$tableName
$withForeignKeys
boolean
$withForeignKeys

Returns

string
public string
# getHeader( )

Returns SQL header data, move from original resource model

Returns SQL header data, move from original resource model

Returns

string
public string
# getFooter( )

Returns SQL footer data, move from original resource model

Returns SQL footer data, move from original resource model

Returns

string
public string
# getTableDataBeforeSql( string $tableName )

Retrieve before insert data SQL fragment

Retrieve before insert data SQL fragment

Parameters

$tableName
string
$tableName

Returns

string
public string
# getTableDataAfterSql( string $tableName )

Retrieve after insert data SQL fragment

Retrieve after insert data SQL fragment

Parameters

$tableName
string
$tableName

Returns

string
public string
# getPartInsertSql( string $tableName, integer $count = null, integer $offset = null )

Return table part data SQL insert

Return table part data SQL insert

Parameters

$tableName
string
$tableName
$count
integer
$count
$offset
integer
$offset

Returns

string
public string
# getInsertSql( string $tableName )

Return table data SQL insert

Return table data SQL insert

Parameters

$tableName
string
$tableName

Returns

string
protected string
# _quoteRow( string $tableName, array $row )

Quote Table Row

Quote Table Row

Parameters

$tableName
string
$tableName
$row
array
$row

Returns

string
public
# turnOnSerializableMode( )

Turn on serializable mode

Turn on serializable mode

public
# turnOnReadCommittedMode( )

Turn on read committed mode

Turn on read committed mode

Methods inherited from Mage_Core_Model_Resource_Helper_Mysql4
_assembleLimit(), _prepareGroup(), _prepareHaving(), _prepareOrder(), _truncateAliasName(), addGroupConcatColumn(), addLikeEscape(), castField(), getDateDiff(), getInsertFromSelectUsingAnalytic(), getQueryUsingAnalyticFunction(), limitUnion(), prepareColumn(), prepareColumnsList()
Methods inherited from Mage_Core_Model_Resource_Helper_Abstract
__construct(), _getConnection(), _getReadAdapter(), _getWriteAdapter(), convertOldColumnDefinition(), escapeLikeValue(), getCILike()
Properties summary
protected array $_foreignKeys array()
#

Tables foreign key data array [tbl_name] = array(create foreign key strings)

Tables foreign key data array [tbl_name] = array(create foreign key strings)

Properties inherited from Mage_Core_Model_Resource_Helper_Abstract
$_modulePrefix, $_readAdapter, $_writeAdapter
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0