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_Helper_Data

Backup data helper

Mage_Core_Helper_Abstract
Extended by Mage_Backup_Helper_Data
Package: Mage\Backup
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Backup/Helper/Data.php
Methods summary
public array
# getBackupTypes( )

Get all possible backup type values with descriptive title

Get all possible backup type values with descriptive title

Returns

array
public array
# getBackupTypesList( )

Get all possible backup type values

Get all possible backup type values

Returns

array
public string
# getDefaultBackupType( )

Get default backup type value

Get default backup type value

Returns

string
public string
# getBackupsDir( )

Get directory path where backups stored

Get directory path where backups stored

Returns

string
public string
# getExtensionByType( string $type )

Get backup file extension by backup type

Get backup file extension by backup type

Parameters

$type
string
$type

Returns

string
public array
# getExtensions( )

Get all types to extensions map

Get all types to extensions map

Returns

array
public string
# generateBackupDownloadName( Mage_Backup_Model_Backup $backup )

Generate backup download name

Generate backup download name

Parameters

$backup
Mage_Backup_Model_Backup
$backup

Returns

string
public boolean
# isRollbackAllowed( )

Check Permission for Rollback

Check Permission for Rollback

Returns

boolean
public array
# getBackupIgnorePaths( )

Get paths that should be ignored when creating system snapshots

Get paths that should be ignored when creating system snapshots

Returns

array
public array
# getRollbackIgnorePaths( )

Get paths that should be ignored when rolling back system snapshots

Get paths that should be ignored when rolling back system snapshots

Returns

array
public boolean
# turnOnMaintenanceMode( )

Put store into maintenance mode

Put store into maintenance mode

Returns

boolean
public
# turnOffMaintenanceMode( )

Turn off store maintenance mode

Turn off store maintenance mode

public string
# getCreateSuccessMessageByType( string $type )

Get backup create success message by backup type

Get backup create success message by backup type

Parameters

$type
string
$type

Returns

string
protected string
# getMaintenanceFlagFilePath( )

Get path to maintenance flag file

Get path to maintenance flag file

Returns

string
public Mage_Backup_Helper_Data
# invalidateCache( )

Invalidate Cache

Invalidate Cache

Returns

Mage_Backup_Helper_Data
public Mage_Backup_Helper_Data
# invalidateIndexer( )

Invalidate Indexer

Invalidate Indexer

Returns

Mage_Backup_Helper_Data
public string
# nameToDisplayName( string $name )

Creates backup's display name from it's name

Creates backup's display name from it's name

Parameters

$name
string
$name

Returns

string
public Varien_Object
# extractDataFromFilename( string $filename )

Extracts information from backup's filename

Extracts information from backup's filename

Parameters

$filename
string
$filename

Returns

Varien_Object
Methods inherited from Mage_Core_Helper_Abstract
__(), _cleanCache(), _getModuleName(), _getRequest(), _getUrl(), _loadCache(), _removeCache(), _saveCache(), escapeHtml(), escapeUrl(), getLayout(), isModuleEnabled(), isModuleOutputEnabled(), jsQuoteEscape(), quoteEscape(), removeTags(), setLayout(), stripTags(), translateArray(), urlDecode(), urlEncode()
Constants summary
string TYPE_DB 'db'
#

Backup type constant for database backup

Backup type constant for database backup

string TYPE_FILESYSTEM 'filesystem'
#

Backup type constant for filesystem backup

Backup type constant for filesystem backup

string TYPE_SYSTEM_SNAPSHOT 'snapshot'
#

Backup type constant for full system backup(database + filesystem)

Backup type constant for full system backup(database + filesystem)

string TYPE_MEDIA 'media'
#

Backup type constant for media and database backup

Backup type constant for media and database backup

string TYPE_SNAPSHOT_WITHOUT_MEDIA 'nomedia'
#

Backup type constant for full system backup excluding media folder

Backup type constant for full system backup excluding media folder

Properties inherited from Mage_Core_Helper_Abstract
$_layout, $_moduleName, $_request
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0