Class MVCnPHP_BaseLoader

Description

This is an abstract loader class which provides

90% of all functionality to the various loaders since we assume all config data will eventually be turned into a PHP array

Located in /BaseLoader.php (line 37)


	
			
Direct descendents
Class Description
MVCnPHP_ArrayLoader This loader creates a mapping from an PHP array
MVCnPHP_XMLLoader This loader creates a mapping from an XML file
Variable Summary
array $arrayData
Method Summary
array getForwards (string $name, string $type)
object Mapping &getMapping (string $name, mixed $viewsDir, mixed $commandsDir, mixed $baseURL, [array $arrayData = ''])
Variables
array $arrayData = null (line 42)
  • access: protected

Redefined in descendants as:
Methods
getDefaultMapping (line 90)

If no object was specified in the request, this will return the default mapping if one was specified in the configuration

  • return: Mapping data for given model or view
  • access: private
  • author: Tony Bibbs <tony@geeklog.net>
array getDefaultMapping ()
getForwards (line 111)

Gets all forwards for a given object

  • return: Forwards for given model
  • access: private
  • author: Tony Bibbs <tony@geeklog.net>
array getForwards (string $name, string $type)
  • string $name: Name of model to get forwards for
  • string $type: Type of object (command or view)
getMapping (line 55)

Gets config data for given object in the form of a mapping object

object Mapping &getMapping (string $name, mixed $viewsDir, mixed $commandsDir, mixed $baseURL, [array $arrayData = ''])
  • string $name: Name of object to get mapping for
  • array $arrayData: Array of configuration data

Redefined in descendants as:

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