// Setting a value in the registry Mage::register('my_value', 'this is my value'); // Retrieving the value from the registry $value = Mage::registry('my_value'); echo $value; // Output: "this is my value"The Mage registry is part of the Magento Core package library.