Welcome Guest, Not a member yet? Register   Sign In
CI4: How to run modules in views?
#1

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.
Reply


Messages In This Thread
CI4: How to run modules in views? - by Avega Soft - 04-23-2019, 05:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB