JModuleHelper::getModule(123);
JModuleHelper::renderModule($position);
JModuleHelper::getModules('mod_menu', array('menuid' => 123));In this example, the `getModules()` function is used to get all modules assigned to a menu item with ID 123. The first argument is the module type, and the second argument is an array of options to filter the results. JModuleHelper is part of the Joomla framework, which is a package library for building web applications using PHP.