How to run a function on every page in ZF2
<p>I'm new to ZEND so go easy, I have a menu table set up in mysql called menu_table, how do I run a function on every page to select * from that table and then pass it through to Module/Application/View/layout/layout.phtml</p>

<p>Many thanks</p>