Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SitemanagerInjector Class:

Code Block
global/classes/sitemanager/views/sitemanagerInjector_{viewname}.php

This class defines functions that are used to inject the sitemanager header bar and side nav bar. It is overridden by using a naming convention sitemanagerInjector_{viewname}.php, with a class name inside sitemanagerInjector_{viewname}. The view is specified by the session for the user, or by the config for the whole client.

These replace the original printHeader and printNav functions in sitemanager/html/nav/main and sitemanager/html/header/main. They are called from html/header/main.php, html/footer/main.php, and global/classes/adminPageAssembler::printHeader()

SiteManager View Class:

Code Block
v6master/global/classes/sitemanager/sitemanagerView.php

This class simply provides some utility functions for loading and identifying injector view classes

...