| Parameter | Description |
Options |
Default |
|---|---|---|---|
| ditto_base | Location of Ditto files | Ditto's base path | ?(base_path)assets/snippets/ditto/ |
| id |
Unique ID for this Ditto instance for connection with other scripts (like Reflect) and unique URL parameters |
a-z, _, 0-9 | none |
| language |
language for defaults, debug, and error messages | $ditto_base/lang folder |
en |
| format |
Output format to use |
html, json, xml, atom, rss | html |
| config |
Load a custom external configuration | default, CONFIG_NAME (configs folder or @FILE) | "default" - default blank config |
| debug |
Output debugging information | 0 (off), 1 (on) | 0 |
| phx |
Use PHx formatting | 0 (off), 1 (on) | 1 |
| extenders |
Load an extender which adds functionality to Ditto | extenders folder, @FILE | none |
| parents |
ID(s) of container resources (also startID) |
Comma-separated list of resource IDs | current resource |
| documents | overrides parents property |
Comma-separated list of IDs of resources to list |
none |
| depth |
depth of Tree levels to fetch from |
positive integer (0 for unlimited) |
1 |
| paginate |
Paginate the results set into pages of &display length. Use &total to limit the number of documents |
0 (off), 1 (on) | 0 |
| display |
Number of documents to display (per page if pagination is on) |
positive integer, `all` (0 for unlimited) |
`all` |
| total |
Number of documents to retrieve | positive integer, `all` |
`all` |