Magento: Creating Varien Object & Collection from any Array data
Varien_Object and Varien_Collection are the parent/super class for most of the Magento Models and Collections respectively. The path for Varien_Object is lib/Varien/Object & for Varien_Collection is lib/Varien/Data/Collection.php. This article shows how you can create new Varien objects and collections from any array or object data you have. Here is the code:- /** * Creating new … Read more