$obj = new Varien_Object(array('name' => 'John Doe', 'age' => 25)); echo $obj->getType(); // prints "Varien_Object"
class MyObject extends Varien_Object { // ... } $obj = new MyObject(array('name' => 'John Doe', 'age' => 25)); echo $obj->getType(); // prints "MyObject"Package library: Varien_Object is part of the Magento library.