| name |
|
A unique application name/id |
| home |
|
The base project directory |
| namespace |
| default |
array('Zym' => 'Zym_App_Resource') |
|
Namespaces to use for loading resources.
They should be in the form of key/value as the
key will be used later for overriding the namespace
of a resource to load. It should be in LIFO order.
|
| path |
|
Path declarations for Zym_App
Can significantly effect directory structure of an app
from changing these values.
All paths are relative to "home" unless "/" root
is specified.
Other config keys and paths can be specified here that are
not listed. They can be accessed using
Zym_App::getInstance()->getPath('pathKey');
|
| path.app |
|
Path of "app" directory containing application
related files (modules, layouts).
|
| path.config |
|
Path of "config" directory containing configs.
|
| path.data |
|
Path of "data" directory contain application data.
|
| path.temp |
|
Path of "temp" directory for temporary files.
|
| cache |
|
Caching configuration
|
| cache.enabled |
| default |
false |
| production |
true |
|
(boolean)
Whether Zym_App should use
caching.
True in production environment.
|
| cache.prefix |
|
Prefix used for cache id's. "%s" contains the
value of the "name" config. This prefix string must conform
to Zend_Config's specifications.
|
| default_resource |
|
Default configuration for dispatching of resources.
Refer to the "resource" item config for more details.
Changing an item here will change the default for
each "resource" item config.
|
| default_resource.disabled |
|
(boolean) Determines whether the resource is dispatched |
| default_resource.config |
|
(string|array)
Where to load configuration from. This path is relative
to path.config unless path is from root ("/foo/bar").
Loads from "config/foo.xml" by default.
"%s" is the resource name.
|
| default_resource.environment |
|
Allows you to override the environment used to configure and dispatch
resources.
|
| default_resource.namespace |
|
Allows you to override the namespace used in dispatching resources.
Refer to "namespace" key.
|
| default_resource.priority |
|
Override resources' dispatching priority
|
| resource |
|
Resources to dispatch. The key is the resource.
(eg. resource.controller) Refer to default_resource for each item's
configuration options and defaults.
|
| resource.{resource}.disabled |
| default |
refer to default_resource.disabled |
|
Disables the resource from dispatching. Useful for
quick debugging.
|
| resource.{resource}.config |
| default |
refer to default_resource.config |
|
(string|array)
Where to load configuration from. This path is relative
to path.config unless path is from root ("/foo/bar").
Loads from "config/foo.xml" by default.
"%s" is the resource name.
If an array is provided instead, it will be used for a resource's
configuration. This allows you to have a single config file
for the whole application.
|
| resource.{resource}.environment |
| default |
refer to default_resource.environment |
|
Allows you to override the environment used to configure and dispatch
the current resource.
|
| resource.{resource}.namespace |
| default |
refer to default_resource.namespace |
|
Allows you to override the namespace used in dispatching the resource.
Refer to "namespace" key.
|
| resource.{resource}.priority |
| default |
refer to default_resource.priority |
|
(int)
Higher priority is 10, lower is 50 and default is 25
Override resource dispatching priority
|
| registry |
|
The internal registry class to use.
It should be a child of Zym_App_Registry.
|