Class Mage_Core_Helper_File_Storage

Description

File storage helper

Located in /Core/Helper/File/Storage.php (line 34)

Mage_Core_Helper_Abstract
   |
   --Mage_Core_Helper_File_Storage
Variable Summary
Method Summary
Mage_Core_Model_Abstract|bool getStorageModel ([int|null $storage = null], [array $params = array()])
bool isInternalStorage ([int|null $storage = null])
bool|int processStorageFile (string $filename)
Variables
int $_currentStorage = null (line 41)

Current storage code

  • access: protected
array $_internalStorageList = array(
Mage_Core_Model_File_Storage::STORAGE_MEDIA_FILE_SYSTEM
)
(line 48)

List of internal storages

  • access: protected

Inherited Variables

Inherited from Mage_Core_Helper_Abstract

Mage_Core_Helper_Abstract::$_layout
Mage_Core_Helper_Abstract::$_moduleName
Mage_Core_Helper_Abstract::$_request
Methods
getCurrentStorageCode (line 57)

Return saved storage code

  • access: public
int getCurrentStorageCode ()
getStorageFileModel (line 72)

Retrieve file system storage model

  • access: public
Mage_Core_Model_File_Storage_File getStorageFileModel ()
getStorageModel (line 97)

Retrieve storage model

  • access: public
Mage_Core_Model_Abstract|bool getStorageModel ([int|null $storage = null], [array $params = array()])
  • int|null $storage
  • array $params
isInternalStorage (line 83)

Check if storage is internal

  • access: public
bool isInternalStorage ([int|null $storage = null])
  • int|null $storage
processStorageFile (line 109)

Check if needed to copy file from storage to file system and if file exists in the storage

  • access: public
bool|int processStorageFile (string $filename)
  • string $filename
saveFileToFileSystem (line 133)

Save file to file system

  • access: public
bool|int saveFileToFileSystem (Mage_Core_Model_File_Storage_Database $file)

Inherited Methods

Inherited From Mage_Core_Helper_Abstract

Mage_Core_Helper_Abstract::escapeHtml()
Mage_Core_Helper_Abstract::escapeUrl()
Mage_Core_Helper_Abstract::getLayout()
Mage_Core_Helper_Abstract::htmlEscape()
Mage_Core_Helper_Abstract::isModuleEnabled()
Mage_Core_Helper_Abstract::isModuleOutputEnabled()
Mage_Core_Helper_Abstract::jsQuoteEscape()
Mage_Core_Helper_Abstract::setLayout()
Mage_Core_Helper_Abstract::stripTags()
Mage_Core_Helper_Abstract::translateArray()
Mage_Core_Helper_Abstract::urlDecode()
Mage_Core_Helper_Abstract::urlEncode()
Mage_Core_Helper_Abstract::urlEscape()
Mage_Core_Helper_Abstract::_cleanCache()
Mage_Core_Helper_Abstract::_getModuleName()
Mage_Core_Helper_Abstract::_getRequest()
Mage_Core_Helper_Abstract::_getUrl()
Mage_Core_Helper_Abstract::_loadCache()
Mage_Core_Helper_Abstract::_removeCache()
Mage_Core_Helper_Abstract::_saveCache()
Mage_Core_Helper_Abstract::__()

Documentation generated on Fri, 11 Feb 2011 17:13:24 +0200 by phpDocumentor 1.4.3