Magento Class Instances and Attribute Value
- getData = Relevant Data from object
- getSingleton = If you are using getSingleton you are calling already instance object
- getModel = Instance of Class Ex: $product = Mage::getModel('catalog/product');
- getChildHtml = Calling Block of Block of Block
- $attribute = $_product->getResource()->getAttribute('your_attribute_id'); (Get Attribute Collection)
- $attribute->getAttributeType() (Get Attribute type)
- $attribute->getFrontendLabel() (Get Attribute Label)
- $attribute->getDefaultValue() (Get Attribute Value)
- $attribute->getIsVisible() (Get Attribute is Visible)
- $attribute->getIsRequired() (Get Attribute is Required)
No comments:
Post a Comment
Thankyou for your Comments