Class FOFConfigProvider

Description

Reads and parses the fof.xml file in the back-end of a FOF-powered component, provisioning the data to the rest of the FOF framework

  • since: 2.1

Located in /libraries/fof/config/provider.php (line 18)


	
			
Variable Summary
 static array $configurations
Method Summary
 mixed get (string $variable, [mixed $default = null])
 array getDomains ()
 void parseComponent (string $component, [boolean $force = false])
 array parseComponentArea (string $component, string $area)
Variables
static array $configurations = array() (line 25)

Cache of FOF components' configuration variables

  • access: public
Methods
get (line 77)

Returns the value of a variable. Variables use a dot notation, e.g.

view.config.whatever where the first part is the domain, the rest of the parts specify the path to the variable.

  • return: The value of the variable
  • access: public
mixed get (string $variable, [mixed $default = null])
  • string $variable: The variable name
  • mixed $default: The default value, or null if not specified
getDomains (line 182)

Gets a list of the available configuration domain adapters

  • return: A list of the available domains
  • access: protected
array getDomains ()
parseComponent (line 35)

Parses the configuration of the specified component

  • access: public
void parseComponent (string $component, [boolean $force = false])
  • string $component: The name of the component, e.g. com_foobar
  • boolean $force: Force reload even if it's already parsed?
parseComponentArea (line 112)

Parses the configuration options of a specific component area

  • return: A hash array with the configuration data
  • access: protected
array parseComponentArea (string $component, string $area)
  • string $component: Which component's cionfiguration to parse
  • string $area: Which area to parse (frontend, backend, cli)

Documentation generated on Tue, 19 Nov 2013 15:11:21 +0100 by phpDocumentor 1.4.3