PHP FOF30\Factory Namespace

Nested Namespaces

FOF30\Factory\Exception
FOF30\Factory\Magic
FOF30\Factory\Scaffolding

Interfaces

Name Description
FactoryInterface Interface for the MVC object factory

Classes

Name Description
BasicFactory MVC object factory. This implements the basic functionality, i.e. creating MVC objects only if the classes exist in the same component section (front-end, back-end) you are currently running in. The Dispatcher and Toolbar will be created from default objects if specialised classes are not found in your application.
MagicFactory Magic MVC object factory. This factory will "magically" create MVC objects even if the respective classes do not exist, based on information in your fof.xml file.
MagicSwitchFactory Magic MVC object factory. This factory will "magically" create MVC objects even if the respective classes do not exist, based on information in your fof.xml file.
SwitchFactory MVC object factory. This implements the advanced functionality, i.e. creating MVC objects only if the classes exist in any component section (front-end, back-end). For example, if you're in the front-end and a Model class doesn't exist there but does exist in the back-end then the back-end class will be returned.