Class Mage_Core_Model_File_Storage
File storage model class
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Core_Model_File_Storage
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/File/Storage.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/File/Storage.php
protected
boolean
|
#
_synchronizeHasErrors(
Show if there were errors while synchronize process |
public
|
|
public
|
#
getStorageModel( integer|null $storage = null, array $params = array() )
Retrieve storage model If storage not defined - retrieve current storage |
public
|
#
synchronize( array $storage )
Synchronize current media storage with defined $storage = array( |
public static
array
|
integer |
STORAGE_MEDIA_FILE_SYSTEM
|
0 |
#
Storage systems ids |
integer |
STORAGE_MEDIA_DATABASE
|
1 |
|
string |
XML_PATH_STORAGE_MEDIA
|
'default/system/media_storage_configuration/media_storage' |
#
Config pathes for storing storage configuration |
string |
XML_PATH_STORAGE_MEDIA_DATABASE
|
'default/system/media_storage_configuration/media_database' |
|
string |
XML_PATH_MEDIA_RESOURCE_WHITELIST
|
'default/system/media_storage_configuration/allowed_resources' |
|
string |
XML_PATH_MEDIA_UPDATE_TIME
|
'system/media_storage_configuration/configuration_update_time' |
protected
string
|
$_eventPrefix | 'core_file_storage' |
#
Prefix of model events names |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|