You are here

private function QueryPathCssEventHandler::candidateList in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/CssEventHandler.php \QueryPathCssEventHandler::candidateList()
  2. 7.2 QueryPath/CssEventHandler.php \QueryPathCssEventHandler::candidateList()
19 calls to QueryPathCssEventHandler::candidateList()
QueryPathCssEventHandler::anyElement in QueryPath/CssEventHandler.php
QueryPathCssEventHandler::anyElementInNS in QueryPath/CssEventHandler.php
QueryPathCssEventHandler::attribute in QueryPath/CssEventHandler.php
QueryPathCssEventHandler::attributeNS in QueryPath/CssEventHandler.php
QueryPathCssEventHandler::element in QueryPath/CssEventHandler.php

... See full list

File

QueryPath/CssEventHandler.php, line 1067

Class

QueryPathCssEventHandler

Code

private function candidateList() {
  if ($this->findAnyElement) {
    return $this
      ->getAllCandidates($this->matches);
  }
  return $this->matches;
}