开发者

Sending object from component to module - Joomla

开发者 https://www.devze.com 2023-03-17 22:00 出处:网络
I\'m using CMS Joomla. I created component when I included once library and created object. After that I created module w开发者_高级运维hen I need the same object as in component. Can I send object wh

I'm using CMS Joomla. I created component when I included once library and created object. After that I created module w开发者_高级运维hen I need the same object as in component. Can I send object which has been created in component to my module ?

Please help


You won't know if your module or component are run first. So your object would need to be created by your own "object factory" in some common include file.

0

精彩评论

暂无评论...
验证码 换一张
取 消