Skip to content
Thomas Weinert edited this page Jul 12, 2018 · 6 revisions

FluentDOM

Up to version 5.1 this class is a set of static function to access the library. This changes with 5.2, it now contains the loader plugin registration too.

FluentDOM::Query()

Returns a new FluentDOM\Query instance. This is a jQuery like implementation of a node list for traversing and manipulation.

FluentDOM::QueryCss()

Returns a new FluentDOM\Query instance with a callback that allows to use CSS selectors.

FluentDOM::create() (5.1)

Returns a functor (FluentDOM\Nodes\Creator that allows to create XML documents using nested functions.

FluentDOM::load() (5.2)

Returns a FluentDOM\DOM\Document instance using the registered loaders. This is an extended DOMDocument.

FluentDOM::registerLoader() (5.2)

Registers a new loader usable by the other functions. It allows additional loaders provided by separate Composer packages.

Clone this wiki locally