Config_Container::createDirective()
Parameter
- string $name
Name of new directive
- string $content
Content of new directive
- mixed $attributes
Directive attributes
- string $where
Where to create the new item ('top', 'bottom', 'before', 'after')
- object $target
Required only if 'before' or 'after' is used for $where
Example
Example 37-1. Create a new directive using createDirective()
|
