You are here

public function QueryPath::branch in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \QueryPath::branch()
  2. 7.2 QueryPath/QueryPath.php \QueryPath::branch()

File

QueryPath/QueryPath.php, line 1569

Class

QueryPath

Code

public function branch($selector = NULL) {
  $temp = qp($this->matches, NULL, $this->options);
  if (isset($selector)) {
    $temp
      ->find($selector);
  }
  return $temp;
}