public function QueryPathCssEventHandler::attachNodeList in QueryPath 6
Same name and namespace in other branches
- 7.3 QueryPath/CssEventHandler.php \QueryPathCssEventHandler::attachNodeList()
- 7.2 QueryPath/CssEventHandler.php \QueryPathCssEventHandler::attachNodeList()
3 calls to QueryPathCssEventHandler::attachNodeList()
- QueryPathCssEventHandler::anyDescendant in QueryPath/
CssEventHandler.php - QueryPathCssEventHandler::elementNS in QueryPath/
CssEventHandler.php - QueryPathCssEventHandler::getAllCandidates in QueryPath/
CssEventHandler.php
File
- QueryPath/
CssEventHandler.php, line 1088
Class
Code
public function attachNodeList(DOMNodeList $nodeList, SplObjectStorage $splos) {
foreach ($nodeList as $item) {
$splos
->attach($item);
}
}