-
Notifications
You must be signed in to change notification settings - Fork 20
Nodes OnPrepareSelector
Thomas Weinert edited this page Jul 30, 2014
·
2 revisions
The FluentDOM\Nodes::$onPrepareSelector
allows to define a function that is called whenever
a selector is used. This allows to replace the default Xpath expressions with others - like CSS selectors. The function needs to convert the selector to an Xpath expression.
The FluentDOM::QueryCss()
method uses this property to attach Carica PhpCss or Symfony Css-Selector to
a FluentDOM\Query
instance.
- 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