Class Mage_Core_Helper_File_Storage_Database
Database saving file helper
- Mage_Core_Helper_Abstract
-
Mage_Core_Helper_File_Storage_Database
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/Helper/File/Storage/Database.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/Helper/File/Storage/Database.php
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean|null
|
|
public
string
|
#
getUniqueFilename( string $directory, string $filename )
Get unique name for passed file in case this file already exists |
public
boolean|integer
|
|
public
string
|
|
public
|
|
public
|
|
public
string
|
#
saveUploadedFile( array $result = array() )
Saves uploaded by Mage_Core_Model_File_Uploader file to DB with existence tests |
protected
string
|
#
_removeAbsPathFromFileName( string $filename )
Convert full file path to local (as used by model) If not - returns just a filename |
public
string
|
protected
null| |
$_databaseModel | null |
#
Database storage model |
protected
null| |
$_resourceModel | null |
#
Storage resource model |
protected
boolean
|
$_useDb | null |
#
Db usage flag |
protected
string
|
$_mediaBaseDirectory |
|
#
Media dir |
$_layout,
$_moduleName,
$_request
|