We suppose you continue following our Magento certification-dedicated posts in our blog. This time we will describe class group configuration and use in factory methods.
Magento uses factory methods to instantiate Models, Blocks and Helpers classes, applying a necessary method (for example getModel, helper etc.). You should pass an abstract name of a class group, followed by an entity name. Class groups are described in configuration XML files in /etc/config.xml files of appropriate modules. (more…)