Side menu generator and handler
These PHP classes generate hierarchical menus defined in XML files. They read given XML configuration file with a definition of a hierarchy of menus.The class generates nested HTML lists and JavaScript code to present the defined menus in a Web page.The texts used in the menus can be read for database using a separate localization class. This JS object can manage hierarchical menus of HTML content sections.It can register event handlers to listen to clicks on menu entry icons that make sub-menus expand or collapse.The object can also make content be loaded when menu entries are clicked.