Mage_Eav_Model_Entity_Attribute_Backend_Array Class Reference

Inheritance diagram for Mage_Eav_Model_Entity_Attribute_Backend_Array:

Mage_Eav_Model_Entity_Attribute_Backend_Abstract Mage_Eav_Model_Entity_Attribute_Backend_Interface

List of all members.

Public Member Functions

 beforeSave ($object)


Detailed Description

Definition at line 34 of file Array.php.


Member Function Documentation

beforeSave ( object  ) 

Reimplemented from Mage_Eav_Model_Entity_Attribute_Backend_Abstract.

Definition at line 36 of file Array.php.

00037     {
00038         $data = $object->getData($this->getAttribute()->getAttributeCode());
00039         if (is_array($data)) {
00040             $object->setData($this->getAttribute()->getAttributeCode(), implode(',', $data));
00041         }
00042         return parent::beforeSave($object);
00043     }


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

Generated on Sat Jul 4 17:24:10 2009 for Magento by  doxygen 1.5.8