Closed Hazem7575 closed 2 years ago
to use share create File in folder Controller in modules name DataShareController.php create any function in controller to use function use any file in project Example $data = (new ModulesUnit())->ShareDataModules('Test'); this code will get All data from All function Test in file DataShareController.php in Modules Install Enabled Dont Get Data from Modules Inactive
You can add some arguments if the function contains peremeters
function Test($name);
$data = (new ModulesUnit())->ShareDataModules('Test' , ['name' => 'Mohamed']);
share data modules @Mohamed Yasser