How can I get the current section when the user is on a module specific page (e.g. mod/page/view.php?id=2). Or how to get the section a given module belongs to?
I know how to get all modules of a section but is there a simple way to determine the section a given module belongs to without searching the module in all sections?