- It can not be done by using Magento’s MVC approach, but it can be done by emulating traditional PHP MVC behaviors.
- It can not be done by emulating traditional PHP MVC behaviors, but it can be done by using Magento’s MVC approach.
- It can be done by writing this code on a controller: Mage::transfer(‘data’, $data); and writing this in the block: $data = Mage::registry(‘data’);
- It can be done by writing this code on a controller: Mage::register(‘data’, $data); and writing this in the block: $data = Mage::registry(‘data’);
Тупой индус взял вопрос отсюда: stackoverflow.com/a/4006908