Class Mage_Media_Model_File_Image

Description

Media library file image resource model

Located in /Media/Model/File/Image.php (line 35)

Mage_Core_Model_Resource_Abstract
   |
   --Mage_Media_Model_File_Image
Method Summary
Variables
Methods
delete (line 73)
  • access: public
void delete (Mage_Media_Model_Image $object)
destroyResource (line 213)

Destroys resource object

  • access: public
void destroyResource ( &$resource, resource $resource)
  • resource $resource
  • &$resource
getDimensions (line 197)

Retrive image dimensions

  • access: public
Varien_Object getDimensions (Mage_Media_Model_Image $object)
getImage (line 84)

Create image resource for operation from file

  • access: public
getTmpImage (line 116)

Create tmp image resource for operations

  • access: public
hasSpecialImage (line 224)

Destroys resource object

  • access: public
void hasSpecialImage (Mage_Media_Model_Image $object, resource $resource)
load (line 61)
  • access: public
void load (Mage_Media_Model_Image $object,  $file, [ $field = null])
resize (line 128)

Resize image

  • access: public
save (line 67)
  • access: public
void save (Mage_Media_Model_Image $object)
saveAs (line 164)

Creates image

  • access: public
Mage_Media_Model_File_Image saveAs (Mage_Media_Model_Image $object, [string|null $extension = null])
watermark (line 152)

Add watermark for image

  • access: public
_construct (line 40)

Resource initialization

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_construct()
Resource initialization
_getReadAdapter (line 48)

Retrieve connection for read data

  • access: protected
void _getReadAdapter ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_getReadAdapter()
Retrieve connection for read data
_getWriteAdapter (line 56)

Retrieve connection for write data

  • access: protected
void _getWriteAdapter ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_getWriteAdapter()
Retrieve connection for write data

Inherited Methods

Inherited From Mage_Core_Model_Resource_Abstract

Mage_Core_Model_Resource_Abstract::__construct()
Mage_Core_Model_Resource_Abstract::addCommitCallback()
Mage_Core_Model_Resource_Abstract::beginTransaction()
Mage_Core_Model_Resource_Abstract::commit()
Mage_Core_Model_Resource_Abstract::formatDate()
Mage_Core_Model_Resource_Abstract::mktime()
Mage_Core_Model_Resource_Abstract::rollBack()
Mage_Core_Model_Resource_Abstract::_construct()
Mage_Core_Model_Resource_Abstract::_getReadAdapter()
Mage_Core_Model_Resource_Abstract::_getWriteAdapter()
Mage_Core_Model_Resource_Abstract::_serializeField()
Mage_Core_Model_Resource_Abstract::_unserializeField()

Documentation generated on Fri, 11 Feb 2011 17:06:22 +0200 by phpDocumentor 1.4.3