Das Handbuch»Entwickeln mit CakePHP»Controllers»Controller Methods»Other Useful Methods»constructClasses
3.5.3.4.1 constructClasses
This method loads the models required by the controller. This loading process is done by CakePHP normally, but this method is handy to have when accessing controllers from a different perspective. If you need CakePHP in a command-line script or some other outside use, constructClasses() may come in handy.
See comment for this section
