Manually call Joomla Module to store as PHP variable, Allow HTML in Menu Title

This is a handy piece of code I use for whenever I need to load the output of a Joomla module as a PHP variable. One common use for this is to allow for HTML tags in menu titles. It’s also handy if you need to do string searches.