There are many ways to create content in your Config object. You can simply pass it an array like it is shown in the example below:
Пример 32-1. Create configuration with array
|
You can also ask Config to look for a file on your filesystem and try to parse it. You would then do it like this. This example assumes you have a valid XML file:
Пример 32-2. Create configuration with a file
|
Of course, it is also possible to create the configuration from scratch as shown in the previous section example.
Пред. | Начало | След. |
Introduction | Уровень выше | Available Containers |
HIVE: All information for read only. Please respect copyright! |