Posted By

vrnet on 11/20/10


registry magento

Versions (?)

Working with Magento registry

 / Published in: PHP

Use Mage::register() to add an entry into registry, Mage::registry() to retrieve data and Mage::unregister() to delete registry entry.

  1. Mage::register('name_of_entry', $object);
  2. Mage::registry('name_of_entry');
  3. Mage::unregister('name_of_entry');

Report this snippet  

You need to login to post a comment.