Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Frontend_Image Class Reference

Inheritance diagram for Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Frontend_Image:

Mage_Eav_Model_Entity_Attribute_Frontend_Abstract Mage_Eav_Model_Entity_Attribute_Frontend_Interface

List of all members.

Public Member Functions

 getUrl ($object)


Detailed Description

Definition at line 35 of file Image.php.


Member Function Documentation

getUrl ( object  ) 

Definition at line 37 of file Image.php.

00038     {
00039         $url = false;
00040         if ($image = $object->getData($this->getAttribute()->getAttributeCode())) {
00041             $url = Mage::getBaseUrl('media').'catalog/product/'.$image;
00042         }
00043         return $url;
00044     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:44 2009 for Magento by  doxygen 1.5.8