Issue Bug Closed

#46292HMENU rendering uses old tslib_ class names

Christian Kuhn 03/14/13, 17:57 updated 10/02/18, 12:15

Description

The menu rendering in frontend still instantiates menu classes with
its old tslib_ prefixed names. This is unflexible and a potential
performance issue.

The patch introduces a simple factory instead with a mapping for
existing TypoScript menu types to the implementing classes.
The current variable $menuclasses is obsolete.
Additionally, the naming of three existing classes is adapted to
the correct class names to be in sync with the others.

A method in the factory to register additional menu types will
be added with a second patch.

Reviews 3