PyroCMS:扩展核心(用户)模块
是的,我已经阅读了官方pyrocms 论坛中有关此问题的一些帖子。 所以我承认 CI 架构是不可能的。
===
说过了。好吧,我必须不惜一切代价扩展它(“用户”模块),因为:客户总是对的,对吧?或错了,无论如何。我必须这么做。 因此,请就实现这一目标的最佳方法提出建议。希望将来考虑进行pyroCMS 升级。
真的很感谢您抽出时间,谢谢。-
Yes, I already read some posts in the official pyrocms forums about this issue.
So I have accepted that is no possible due CI architecture.
===
Said that. well, I MUST extend it ("users" module) at any cost because: The customer is always right, right? or wrong, what ever. I must do it.
So please advice about the best approach to accomplished. Hopefully considering pyroCMS upgrades in the future.
Really grateful for your time, Thanks.-
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
PyroCMS 系统提供扩展 PyroCMS 用户模块功能。为了扩展用户模块,该模块提供了用户库(ion_auth和user_lib),我们可以在其中调用用户模块功能,例如
您可以简单地调用该模块像这样:
Extending PyroCMS user module feature is provided by PyroCMS system. For extending User moudle, this module have provided user libraries(ion_auth and user_lib) where we can call user modules functions such as
you can simply call the module like this:
这实际上取决于您想要做什么。查看使用帮助程序。或者扩展你的问题。
It really depends on what you're trying to do. Look at using helpers. Or expand on your question.
如何创建一个自定义模块来导入用户的模型、库并使用 events.php 附加自定义函数
How about creating a custom module which imports users's model, library and attach custom functions using events.php