You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can you please create a directory on github (e.g. under https://github.com/XoopsModules25x) for all these common files
then I can always implement the last version, or fork it to contribute,...
We should move the standard functions from /class/Utility.php to /class/Common/SysUtility.php, like what we have in Suico:
https://github.com/XoopsModules25x/suico/blob/master/class/Common/SysUtility.php
Then make the Utility class inherit from SysUtility:
class Utility extends Common\SysUtility
as here: https://github.com/XoopsModules25x/suico/blob/master/class/Utility.php
and then move all the module specific functions from /include/functions.php to the Utility class, while making them all "static"
This way we'll remove them from the Global space
The text was updated successfully, but these errors were encountered: