Class Amfphp_Core_Config

Description

responsable for loading and maintaining Amfphp configuration

  • author: Ariel Sommeria-klein

Located in /Amfphp/Core/Config.php (line 19)


	
			
Class Constant Summary
 CONFIG_RETURN_ERROR_DETAILS = 'returnErrorDetails'
Variable Summary
Method Summary
Amfphp_Core_Config __construct ()
Variables
Boolean $checkArgumentCount (line 41)

set to true if you want the service router to check if the number of arguments received by amfPHP matches with the method being called.

This should be set to false in production for performance reasons

  • access: public
array $disabledPlugins (line 79)

array of plugins that are available but should be disabled

  • access: public
array $pluginsConfig (line 57)

array containing untyped plugin configuration data. Add as needed. The advised format is the name of the plugin as key, and then paramName/paramValue pairs as an array.

example: array('plugin' => array( 'paramName' =>'paramValue')) The array( 'paramName' =>'paramValue') will be passed as is to the plugin at construction time.

  • access: public
array $pluginsFolders (line 47)

paths to the folder containing the plugins. defaults to AMFPHP_ROOTPATH . '/Plugins/'

  • access: public
$serviceFolderPaths (line 25)

paths to folders containing services(relative or absolute)

  • var: of paths
  • access: public
$serviceNames2ClassFindInfo (line 34)

a dictionary of service classes represented in a ClassFindInfo.

The key is the name of the service, the value is the class find info. for example: AmfphpDiscoveryService -> new ClassfindInfo( ... /Plugins/serviceBrowser/AmfphpDiscoveryService.php, AmfphpDiscoveryService) The forward slash is important, don't use "\'!

  • var: of ClassFindInfo
  • access: public
array $sharedConfig (line 64)

array containing configuration data that is shared between the plugins. The format is paramName/paramValue pairs as an array.

  • access: public
Methods
Constructor __construct (line 81)
  • access: public
Amfphp_Core_Config __construct ()
Class Constants
CONFIG_RETURN_ERROR_DETAILS = 'returnErrorDetails' (line 72)

if true, there will be detailed information in the error messages, including confidential information like paths.

So it is advised to set to true for development purposes and to false in production. Set in the shared config.

Documentation generated on Mon, 23 Jan 2012 17:22:04 -0300 by phpDocumentor 1.4.3