cancel
Showing results for 
Search instead for 
Did you mean: 

Where is 'setConfiguredAttributes' method defined in ?

SOLVED

Where is 'setConfiguredAttributes' method defined in ?

I use below code.

 

 

$product = Mage::getModel('catalog/product')
->setStoreId(Mage::app()->getStore()->getId())
->load($productId)
->setConfiguredAttributes($this->getRequest()->getParam('super_attribute'))
->setGroupedProducts($this->getRequest()->getParam('super_group', array()));

It works.

 

But I could not find where 'setConfiguredAttributes' method defined in.

Where is it defined in???

2 REPLIES

Re: Where is 'setConfiguredAttributes' method defined in ?

if the default product model is not rewerited, then this is a magic method

http://php.net/manual/en/language.oop5.magic.php

any methods not difined in setXxxYyy format will be translated to setData('xxx_yyy')

Re: Where is 'setConfiguredAttributes' method defined in ?

Thank you for your replay!