- 
                Notifications
    You must be signed in to change notification settings 
- Fork 20
Query
        Haoran edited this page May 10, 2018 
        ·
        15 revisions
      
    FluentDOM\Query is a node list for element and text nodes. It is an implementation of jQuery APIs for traversing and manipulating XML DOMs. FluentDOM\Query extends from FluentDOM\Nodes.
FluentDOM\Query can be created using the FluentDOM() function, the FluentDOM factory class functions or by creating a FluentDOM\Query object.
$fd = FluentDOM('<greeting>Hello World</greeting>');
echo $fd->find('//greeting')->text();- ->add()
- ->addBack()
- ->children()
- ->closest()
- ->contents()
- ->each() (inherited)
- ->end() (inherited)
- ->eq()
- ->filter()
- ->find() (inherited)
- ->first()
- ->get()
- ->has()
- ->is()
- ->last()
- ->map()
- ->next()
- ->nextAll()
- ->nextUntil()
- ->not()
- ->parent()
- ->parents()
- ->parentsUntil()
- ->prev()
- ->prevAll()
- ->prevUntil()
- ->reverse()
- ->siblings()
- ->slice()
- 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