1. General Tags

1.1. Keywords

You may reference any configuration directive by enclosing the name in "%" signs. Example: %core.agavi_dir%

1.2. <configurations>

The <configurations> tag is the root tag of all Agavi XML configuration files.

Attributes

[parent]

A full path to a file which can be used to define default configuration options. You can use keywords here.

Content

1.3. <configuration>

Within the <configuration> block you can define configuration options which are only effective in the context/environment combination. Specifying one (or both) of the attributes limits that block to both the context and environment specified. You can actually define several configuration blocks in the root tag.

Note

Most configuration handlers allow selective overwriting of single attributes. So you can define a filter with all parameters it needs and just disable it for certain contexts without having to specify the parameters or any of the attributes your already specified again.

Attributes

[context]

The name of the context for which this configuration block is valid.

[environment]

The name of the environment this configuration block is valid in.

Content

The available child tags depend on the configuration handler which is used.

autoload.xml

autoloads

compile.xml

compiles

config_handlers.xml

handlers

databases.xml

databases

factories.xml

controller, database_manager, dispatch_filter execution_container, execution_filter, filter_chain, logger_manager, request, response, routing, security_filter, storage, translation_manager, user, validator_manager

*_filters.xml

filters

logging.xml

loggers, appenders, layout

module/config/module.xml

enabled, title, version, name, authors, homepage, update_url, description

output_types.xml

output_types

rbac_definitions.xml

roles

routing.xml

routes

settings.xml

exception_templates, settings, system_actions

translation.xml

available_locales, translators

validators.xml

defaults, validators