CI4: How to run modules in views? |
Hi every! I have question - how calling Modules methods in views in CI4? For example in CI3 + HMVC, i am writing this line code "modules::run('blog/posts/get_posts', 10);" it returns array of posts. But how to do it in CI4 a can't found in manual ( https://codeigniter4.github.io/userguide...ht=modules ) and this post ( http://blog.newmythmedia.com/blog/show/2...eIgniter_4 ) not help too.
|
Messages In This Thread |
CI4: How to run modules in views? - by Avega Soft - 04-23-2019, 05:07 AM
RE: CI4: How to run modules in views? - by kilishan - 04-23-2019, 06:35 AM
RE: CI4: How to run modules in views? - by Avega Soft - 04-23-2019, 08:59 AM
RE: CI4: How to run modules in views? - by kilishan - 04-23-2019, 10:44 AM
RE: CI4: How to run modules in views? - by Avega Soft - 04-23-2019, 08:12 PM
|