如何在自定义模块(Joomla 1.7)中使用自定义组件的函数?
我正在 Joomla 1.7 中编写自定义组件以及一些自定义模块,但我无法弄清楚如何在自定义模块内的组件中使用函数。我不想重复这些功能,因为在进行更改时这些功能很可能会不同步。
我可以只包含一个文件来访问这些功能吗?
谢谢!
I am in the process of writing a custom component along with some custom modules in Joomla 1.7 and I am having trouble figuring out how I can use function within my component inside my custom modules. I don't want to duplicate these functions because there's a very good chance of those getting out of sync when changes are made.
Can I just include a file to get access to those functions?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
舒尔。你总是可以在模块内做这样的事情:
然后
Shure. You can always do stuff like this inside modules:
and then