Méthode |
Description |
|
Query ( mixed $source = NULL, string $contentType = 'text/xml', array $options = [] ) : Query |
Create an FluentDOM::Query instance and load the source into it. |
|
QueryCss ( mixed $source = NULL, string $contentType = 'text/xml', array $options = [] ) : Query |
Create an FluentDOM::Query instance with a modified selector callback. |
|
create ( string $version = '1.0', string $encoding = 'UTF-8' ) : Creator |
Return a FluentDOM Creator instance, allow to create a DOM using nested function calls |
|
getDefaultLoaders ( ) : Loaders |
Standard loader + any registered loader. |
|
getSerializerFactories ( ) : Group |
Return registered serializer factories |
|
getXPathTransformer ( string $errorMessage = 'No CSS selector support installed' ) : FluentDOM\Xpath\Transformer |
Get a xpath expression builder to convert css selectors to xpath |
|
load ( mixed $source, string $contentType = 'text/xml', array $options = [] ) : Document |
Load a data source into a FluentDOM\Document |
|
registerLoader ( FluentDOM\Loadable | callable $loader, $contentTypes ) : Loaders |
Register an additional default loader |
|
registerSerializerFactory ( FluentDOM\Serializer\Factory | callable $factory, $contentTypes ) |
Register a serializer factory for a specified content type(s). This can be
a callable returning the create serializer. |
|
registerXpathTransformer ( string | callable | FluentDOM\Xpath\Transformer $transformer, $reset = FALSE ) |
|
|
setLoader ( FluentDOM\Loadable | null $loader ) |
Set a loader used in FluentDOM::load(), NULL will reset the loader. |
|