magento 设置全局变量或函数 (Session, Registry 和 Function)
1. Magento: Get and set variables in session
?
To set a Magento session variable:
<?php echo Mage::helper('function')->test(); ?>?
来源: http://joe-riggs.com/blog/2011/06/create-global-function-in-magento/
?
?
本站相关:
?
1. 深入理解Magento-第九章-修改、扩展、重写Magento代码
2. magento 模块重写
?
?
?
?