JModuleHelper
has 2 methods available with which you can load modules:
JModuleHelper::getModule();
which takes either a module name / title (e.g. 'Main Menu') or a module 'type' (e.g. mod_menu), and:
JModuleHelper::getModules()
which takes a module position (e.g. 'top').
Is there a way to load a module by both real name AND position, as opposed to using getModules()
then running a loop over the result array, checking each title?