Documentation

Markers

Table of Contents

src/DOMDocument/DOMObject.php 6

DOMObject.php

Type Line Description
TODO 45 Keep an eye on this, might be better to set this at construction time rather than conditionally throwing this. This will make testing potentially difficult.
TODO 65 Test that this returns by value and not by reference. External code should NOT manipulate this set
TODO 83 We've made a special exception for querySelectorAll here so that "is" can work and so that the "closest" test passes. "is" uses the parent of the subject element and performs a query selector all / find with the selector passed to "is". If the element calling "is" matches itself in the results from it's parents query selector all, then "is" returns true. The first expression here stops the exception from being raised and allows this to continue working. This should be removed when querySelectorAll is removed.
TODO 375 Is it sensible to return query results here? How will this handle non-element nodes?
TODO 246 Review this, it should return a results set, should it be any empty array on an empty set? I expect so
TODO 259 Review this, it should return a results set, should it be any empty array on an empty set? I expect so

Search results