This method must be called on a section, the created item can be anything. It adds a new child to the current item. If a position is specified, the child will be created at there. It is recommended to use the helper methods instead of calling this method directly.
Parameter
string $type
type of item: directive, section, comment, blank...
mixed $item
item name
string $content
item content
array $attributes
item attributes
string $where
choose a position 'bottom', 'top', 'after', 'before'
object $target
needed if you choose 'before' or 'after' for $where
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?