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

(07-04-2021, 02:42 AM)InsiteFX Wrote:
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.

Thank you
Reply


Messages In This Thread
RE: CI4 Question (Module Calling Module) - by [email protected] - 07-05-2021, 03:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB