Class MVCnPHP_LoaderFactory

Description

Builds MVC Config Loaders

I doubt much more besides arrays and XML files will be used but just in case I used the factory pattern in here to enable easily adding new configuration data structures

Located in /LoaderFactory.php (line 33)


	
			
Method Summary
object MVC getLoader ([int $configType = MVC_XML], string $path)
Methods
getLoader (line 48)

Builds requested MVC configuration loaders.

Config loaders each represent one way of parsing an MVC configuration data structure into the objects needed by the controller.

object MVC getLoader ([int $configType = MVC_XML], string $path)
  • string $path: Path to base MVC directory
  • int $configType: Constant, either MVC_XML or MVC_ARRAY

Documentation generated on Mon, 7 Mar 2005 22:36:22 -0600 by phpDocumentor 1.3.0RC3