Welcome Guest, Not a member yet? Register   Sign In
CI4 Question (Module Calling Module)
#7

PHP Code:
$module = new \Namespace\ModuleName(); 

Add your own module static method called run(). then you can call 
PHP Code:
$module::run(); 

You will need to setup your run method for any parameters to pass.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: CI4 Question (Module Calling Module) - by InsiteFX - 07-04-2021, 02:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB