PHP 클래스 FluentDOM\Nodes\Fetcher

파일 보기 프로젝트 열기: fluentdom/fluentdom

공개 메소드들

메소드 설명
__construct ( Nodes $nodes )
fetch ( string $expression, callable $filter = NULL, callable $stopAt = NULL, integer $options ) : array

비공개 메소드들

메소드 설명
fetchFor ( string $expression, DOMNode $context = NULL, callable $filter = NULL, callable $stopAt = NULL, integer $options ) : array | boolean | DOMNodeList | float | string Fetch the nodes for the provided context node. If $context ist NULL the document context is used. Use $filter and $stopAt to reduce the returned nodes.
fetchNodes ( string $expression, DOMNode $context = NULL, integer $options ) : array | boolean | DOMNodeList | float | string Fetch the nodes for the provided context node. If $context ist NULL the document context is used.
filterNodes ( array $nodes, callable $filter = NULL, callable $stopAt = NULL, integer $options ) : array
getNodeStatus ( DOMNode $node, integer $index, callable $filter = NULL, callable $stopAt = NULL ) : boolean[]
unique ( array $nodes, integer $options ) : array Make nodes unique if needed or forced.
validateContextIgnore ( string $expression, integer $options ) : boolean Validate if the context can be ignored.

메소드 상세

__construct() 공개 메소드

public __construct ( Nodes $nodes )
$nodes FluentDOM\Nodes

fetch() 공개 메소드

public fetch ( string $expression, callable $filter = NULL, callable $stopAt = NULL, integer $options ) : array
$expression string
$filter callable
$stopAt callable
$options integer
리턴 array