-
Notifications
You must be signed in to change notification settings - Fork 20
Document CreateElement
Thomas Weinert edited this page Jul 12, 2018
·
3 revisions
FluentDOM\Element createElement(
string $name [ , string $content = '' [ , array $attributes = NULL ]]
)
FluentDOM\Element createElement(
string $name [ , array $attributes = NULL ]
)
Extends the DOMDocument::createElement() method. It fixes the entity bug for the $content argument and allows to provide an array of attributes, too.
It uses the namespaces registered on the document to resolve namespace prefixes.
- Home
- Getting Started
- Tasks
- Plugins
- Functions
- Lists
- Creator (5.1)
- CSS Selectors
- Convertors
- Loaders
- Serializers (5.1)
- Transformers (5.1)
- Extended DOM
- XMLReader (6.1)
- XMLWriter (6.1)
- Interfaces