PHP Class phpQueryObject, microweber

Inheritance: implements Iterator, implements Countable, implements ArrayAccess
Afficher le fichier Open project: microweber/microweber Class Usage Examples

Méthodes publiques

Свойство Type Description
$charset
$document DOMDocument DOMDocument class.
$documentFragment boolean Every document is realy a full document, so even documentFragments can be queried against , but getDocument(id)->htmlOuter() will return only contents of .
$documentID
$documentWrapper DOMDocumentWrapper
$elements array Stack of selected elements.
$xpath DOMXPath XPath interface.

Protected Properties

Свойство Type Description
$current Iterator interface helper.
$elementsBackup
$elementsInterator Iterator interface helper.
$previous
$root
$valid Iterator interface helper.

Méthodes publiques

Méthode Description
___wrapAllCallback ( $node ) : unknown_type
__call ( $method, $args ) : unknown_type
__construct ( $documentID ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
__destruct ( )
__get ( $attr ) : unknown_type
__loadSuccess ( $html ) : unknown_type
__toString ( )
_clone ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
_empty ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Proper name without underscore (just ->empty()) also works.
_next ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Safe rename of next().
_prev ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Use prev() and next().
add ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
addClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
addClassPHP ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
after ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
afterPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
ancestors ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
andSelf ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
append ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
appendPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
appendTo ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
attr ( $attr = null, $value = null )
attrPHP ( $attr, $code ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
before ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
beforePHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
bind ( unknown_type $type, unknown_type $data, unknown_type $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Binds a handler to one or more events (like click) for each matched element.
callback ( $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Run callback on actual object.
change ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
children ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
click ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
contents ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
contentsUnwrap ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
count ( )
css ( ) : phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
current ( )
data ( $key, $value = null ) Enter description here.
documentFragment ( $state = null )
dump ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Dump htmlOuter and preserve chain. Usefull for debugging.
dumpDie ( ) Dump htmlOuter and stop script execution. Usefull for debugging.
dumpLength ( )
dumpTree ( $html = true, $title = true )
dumpWhois ( )
each ( array | string $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
end ( $level = 1 ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
eq ( $num ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
extend ( $class, $file = null ) : unknown_type Deprecated, use $pq->plugin() instead.
filter ( $selectors, $_skipHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
filterCallback ( $callback, $_skipHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
find ( $selectors, $context = null, $noHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
get ( integer $index = null, $callback1 = null, $callback2 = null, $callback3 = null ) : array | DOMElement Return matched DOM nodes.
getDOMDocument ( ) : DOMDocument
getDocument ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Returns object with stack set to document root.
getDocumentID ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Get object's Document ID.
getDocumentIDRef ( &$documentID ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Saves object's DocumentID to $var by reference.
getString ( integer $index = null, $callback1 = null, $callback2 = null, $callback3 = null ) : array | string Return matched DOM nodes.
getStrings ( integer $index = null, $callback1 = null, $callback2 = null, $callback3 = null ) : array | string Return matched DOM nodes.
hasClass ( string $className ) : boolean Enter description here.
hide ( )
html ( unknown_type $html = null, $callback1 = null, $callback2 = null, $callback3 = null ) : string | phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
htmlOuter ( $callback1 = null, $callback2 = null, $callback3 = null ) : string Enter description here.
index ( $subject ) : integer Enter description here.
insert ( unknown_type $target, unknown_type $type ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Internal insert method. Don't use it.
insertAfter ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
insertBefore ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
is ( $selector, $nodes = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
isHTML ( )
isXHTML ( )
isXML ( )
key ( )
length ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
load ( $url, $data = null, $callback = null ) : phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
map ( $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
markup ( $markup = null, $callback1 = null, $callback2 = null, $callback3 = null ) : unknown_type jQuey difference.
markupOuter ( $callback1 = null, $callback2 = null, $callback3 = null ) : unknown_type jQuey difference.
markupOuterPHP ( ) : unknown_type Enter description here.
markupPHP ( $code = null ) : unknown_type Enter description here.
newInstance ( array $newStack = null ) Returns new instance of actual class.
next ( $cssSelector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Double-function method.
nextAll ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
not ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
parent ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
parents ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
php ( $code = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Just like html(), but returns markup with VALID (dangerous) PHP tags.
plugin ( $class, $file = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
prepend ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
prependPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
prependTo ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
prev ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
prevAll ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
remove ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
removeAttr ( $attr ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
removeClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
removeData ( $key ) Enter description here.
replaceAll ( string $selector ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
replaceWith ( string | phpQuery $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
replaceWithPHP ( $code ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
reverse ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
rewind ( )
serialize ( ) : string Enter description here.
serializeArray ( $submit = null ) : array Enter description here.
show ( )
siblings ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
size ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
slice ( unknown_type $start, unknown_type $end = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
stack ( $nodeTypes = null ) Internal stack iterator.
submit ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
switchWith ( $markup ) Enter description here.
text ( $text = null, $callback1 = null, $callback2 = null, $callback3 = null ) : string Return joined text content.
toReference ( phpQueryObject &$var ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Saves actual object to $var by reference.
toRoot ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
toggleClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
trigger ( unknown_type $type, unknown_type $data = [] ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Trigger a type of event on every matched element.
triggerHandler ( unknown_type $type, unknown_type $data = [] ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery This particular method triggers all bound event handlers on an element (for a specific event type) WITHOUT executing the browsers default actions.
unbind ( unknown_type $type = null, unknown_type $callback = null ) : unknown Enter description here.
unloadDocument ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Unloads whole document from memory.
val ( $val = null ) : string Return form element value.
valid ( )
whois ( $oneNode = null ) HELPERS
wrap ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
wrapAll ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
wrapAllOld ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
wrapAllPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
wrapInner ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
wrapInnerPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
wrapPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery Enter description here.
xml ( $xml = null, $callback1 = null, $callback2 = null, $callback3 = null )
xmlOuter ( $callback1 = null, $callback2 = null, $callback3 = null )

Méthodes protégées

Méthode Description
__pseudoClassParam ( $paramsString )
attrEvents ( $attr, $oldAttr, $oldValue, $node ) TODO phpdoc; $oldAttr is result of hasAttribute, before any changes
debug ( $in )
elementsContainsNode ( $nodeToCheck, $elementsStack = null )
getElementSiblings ( $direction, $selector = null, $limitToOne = false )
getNodeAttrs ( $node )
getNodeXpath ( unknown_type $oneNode = null, $namespace = null ) : string Returns node's XPath.
isChar ( string $char ) : boolean Determines if $char is really a char.
isRegexp ( $pattern )
isRoot ( $node )
markupEvents ( $newMarkup, $oldMarkup, $node )
matchClasses ( unknown_type $class, unknown_type $node ) : boolean Enter description here.
merge ( )
parseSelector ( $query )
pseudoClasses ( $class )
runQuery ( $XQuery, $selector = null, $compare = null )
stackIsRoot ( )
unQuote ( $value ) : unknown_type

Private Methods

Méthode Description
__dumpTree ( $node, $intend )

Method Details

___wrapAllCallback() public méthode

public ___wrapAllCallback ( $node ) : unknown_type
$node
Résultat unknown_type

__call() public méthode

public __call ( $method, $args ) : unknown_type
$method
$args
Résultat unknown_type

__construct() public méthode

..
public __construct ( $documentID ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

__destruct() public méthode

public __destruct ( )

__get() public méthode

public __get ( $attr ) : unknown_type
$attr
Résultat unknown_type

__loadSuccess() public méthode

public __loadSuccess ( $html ) : unknown_type
$html
Résultat unknown_type

__pseudoClassParam() protected méthode

protected __pseudoClassParam ( $paramsString )

__toString() public méthode

public __toString ( )

_clone() public méthode

.. Normal use ->clone() .
public _clone ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

_empty() public méthode

Removes all child nodes from the set of matched elements. Example: pq("p")._empty() HTML:

Hello, Person and person

Result: [

]
public _empty ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

_next() public méthode

Use it ONLY when need to call next() on an iterated object (in same time). Normaly there is no need to do such thing ;)
public _next ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

_prev() public méthode

Use prev() and next().
Deprecation:
public _prev ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

add() public méthode

..
public add ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

addClass() public méthode

..
public addClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

addClassPHP() public méthode

..
public addClassPHP ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

after() public méthode

..
public after ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

afterPHP() public méthode

..
public afterPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

ancestors() public méthode

..
public ancestors ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

andSelf() public méthode

..
public andSelf ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

append() public méthode

..
public append ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

appendPHP() public méthode

..
public appendPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

appendTo() public méthode

..
public appendTo ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

attr() public méthode

public attr ( $attr = null, $value = null )

attrEvents() protected méthode

TODO phpdoc; $oldAttr is result of hasAttribute, before any changes
protected attrEvents ( $attr, $oldAttr, $oldValue, $node )

attrPHP() public méthode

..
public attrPHP ( $attr, $code ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

before() public méthode

..
public before ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

beforePHP() public méthode

..
public beforePHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

bind() public méthode

Can also bind custom events.
public bind ( unknown_type $type, unknown_type $data, unknown_type $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$type unknown_type
$data unknown_type Optional
$callback unknown_type
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

callback() public méthode

Run callback on actual object.
public callback ( $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

change() public méthode

..
public change ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

children() public méthode

..
public children ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

click() public méthode

..
public click ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

contents() public méthode

..
public contents ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

contentsUnwrap() public méthode

.. jQuery difference.
public contentsUnwrap ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

count() public méthode

public count ( )

css() public méthode

..
public css ( ) : phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

current() public méthode

public current ( )

data() public méthode

..
public data ( $key, $value = null )
$key
$value

debug() protected méthode

protected debug ( $in )

documentFragment() public méthode

public documentFragment ( $state = null )

dump() public méthode

Dump htmlOuter and preserve chain. Usefull for debugging.
public dump ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

dumpDie() public méthode

Dump htmlOuter and stop script execution. Usefull for debugging.
public dumpDie ( )

dumpLength() public méthode

public dumpLength ( )

dumpTree() public méthode

public dumpTree ( $html = true, $title = true )

dumpWhois() public méthode

public dumpWhois ( )

each() public méthode

..
public each ( array | string $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$callback array | string Expects $node as first param, $index as second
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

elementsContainsNode() protected méthode

protected elementsContainsNode ( $nodeToCheck, $elementsStack = null )

end() public méthode

..
public end ( $level = 1 ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

eq() public méthode

..
public eq ( $num ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

extend() public static méthode

Deprecated, use $pq->plugin() instead.
Deprecation:
public static extend ( $class, $file = null ) : unknown_type
$class
$file
Résultat unknown_type

filter() public méthode

..
public filter ( $selectors, $_skipHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

filterCallback() public méthode

.. jQuery difference. Callback: - $index int - $node DOMNode
public filterCallback ( $callback, $_skipHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

find() public méthode

..
public find ( $selectors, $context = null, $noHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

get() public méthode

Return matched DOM nodes.
public get ( integer $index = null, $callback1 = null, $callback2 = null, $callback3 = null ) : array | DOMElement
$index integer
Résultat array | DOMElement Single DOMElement or array of DOMElement.

getDOMDocument() public méthode

public getDOMDocument ( ) : DOMDocument
Résultat DOMDocument

getDocument() public méthode

Returns object with stack set to document root.
public getDocument ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

getDocumentID() public méthode

Get object's Document ID.
public getDocumentID ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

getDocumentIDRef() public méthode

$myDocumentId; phpQuery::newDocument('
') ->getDocumentIDRef($myDocumentId) ->find('div')->... .
See also: phpQuery::newDocument
See also: phpQuery::newDocumentFile
public getDocumentIDRef ( &$documentID ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

getElementSiblings() protected méthode

protected getElementSiblings ( $direction, $selector = null, $limitToOne = false )

getNodeAttrs() protected méthode

protected getNodeAttrs ( $node )

getNodeXpath() protected méthode

Returns node's XPath.
protected getNodeXpath ( unknown_type $oneNode = null, $namespace = null ) : string
$oneNode unknown_type
Résultat string

getString() public méthode

jQuery difference.
public getString ( integer $index = null, $callback1 = null, $callback2 = null, $callback3 = null ) : array | string
$index integer
Résultat array | string Returns string if $index != null

getStrings() public méthode

jQuery difference.
public getStrings ( integer $index = null, $callback1 = null, $callback2 = null, $callback3 = null ) : array | string
$index integer
Résultat array | string Returns string if $index != null

hasClass() public méthode

..
public hasClass ( string $className ) : boolean
$className string
Résultat boolean

hide() public méthode

public hide ( )

html() public méthode

..
public html ( unknown_type $html = null, $callback1 = null, $callback2 = null, $callback3 = null ) : string | phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$html unknown_type
Résultat string | phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

htmlOuter() public méthode

..
public htmlOuter ( $callback1 = null, $callback2 = null, $callback3 = null ) : string
Résultat string

index() public méthode

..
public index ( $subject ) : integer
Résultat integer

insert() public méthode

Internal insert method. Don't use it.
public insert ( unknown_type $target, unknown_type $type ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$target unknown_type
$type unknown_type
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

insertAfter() public méthode

..
public insertAfter ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

insertBefore() public méthode

..
public insertBefore ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

is() public méthode

..
public is ( $selector, $nodes = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

isChar() protected méthode

Determines if $char is really a char.
protected isChar ( string $char ) : boolean
$char string
Résultat boolean

isHTML() public méthode

public isHTML ( )

isRegexp() protected méthode

protected isRegexp ( $pattern )

isRoot() protected méthode

protected isRoot ( $node )

isXHTML() public méthode

public isXHTML ( )

isXML() public méthode

public isXML ( )

key() public méthode

public key ( )

length() public méthode

..
Deprecation: Use length as attribute
public length ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

load() public méthode

..
public load ( $url, $data = null, $callback = null ) : phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

map() public méthode

..
public map ( $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

markup() public méthode

jQuey difference.
public markup ( $markup = null, $callback1 = null, $callback2 = null, $callback3 = null ) : unknown_type
$markup
Résultat unknown_type

markupEvents() protected méthode

protected markupEvents ( $newMarkup, $oldMarkup, $node )

markupOuter() public méthode

jQuey difference.
public markupOuter ( $callback1 = null, $callback2 = null, $callback3 = null ) : unknown_type
Résultat unknown_type

markupOuterPHP() public méthode

..
public markupOuterPHP ( ) : unknown_type
Résultat unknown_type

markupPHP() public méthode

..
public markupPHP ( $code = null ) : unknown_type
$code
Résultat unknown_type

matchClasses() protected méthode

.. In the future, when PHP will support XLS 2.0, then we would do that this way: contains(tokenize(@class, '\s'), "something")
protected matchClasses ( unknown_type $class, unknown_type $node ) : boolean
$class unknown_type
$node unknown_type
Résultat boolean

merge() protected méthode

protected merge ( )

newInstance() public méthode

Returns new instance of actual class.
public newInstance ( array $newStack = null )
$newStack array Optional. Will replace old stack with new and move old one to history.c

next() public méthode

First: main iterator interface method. Second: Returning next sibling, alias for _next(). Proper functionality is choosed automagicaly.
See also: phpQueryObject::_next()
public next ( $cssSelector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

nextAll() public méthode

public nextAll ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

not() public méthode

..
public not ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )

parent() public méthode

..
public parent ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

parents() public méthode

..
public parents ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

parseSelector() protected méthode

protected parseSelector ( $query )

php() public méthode

Just like html(), but returns markup with VALID (dangerous) PHP tags.
public php ( $code = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

plugin() public méthode

..
public plugin ( $class, $file = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

prepend() public méthode

..
public prepend ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

prependPHP() public méthode

..
public prependPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

prependTo() public méthode

..
public prependTo ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

prev() public méthode

..
public prev ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

prevAll() public méthode

public prevAll ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

pseudoClasses() protected méthode

protected pseudoClasses ( $class )

remove() public méthode

..
public remove ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

removeAttr() public méthode

..
public removeAttr ( $attr ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

removeClass() public méthode

..
public removeClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

removeData() public méthode

..
public removeData ( $key )
$key

replaceAll() public méthode

..
public replaceAll ( string $selector ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$selector string
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

replaceWith() public méthode

..
public replaceWith ( string | phpQuery $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$content string | phpQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

replaceWithPHP() public méthode

..
public replaceWithPHP ( $code ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

reverse() public méthode

..
public reverse ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

rewind() public méthode

public rewind ( )

runQuery() protected méthode

protected runQuery ( $XQuery, $selector = null, $compare = null )

serialize() public méthode

..
public serialize ( ) : string
Résultat string

serializeArray() public méthode

..
public serializeArray ( $submit = null ) : array
Résultat array

show() public méthode

public show ( )

siblings() public méthode

..
public siblings ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

size() public méthode

..
public size ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

slice() public méthode

..
public slice ( unknown_type $start, unknown_type $end = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$start unknown_type
$end unknown_type
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

stack() public méthode

Internal stack iterator.
public stack ( $nodeTypes = null )

stackIsRoot() protected méthode

protected stackIsRoot ( )

submit() public méthode

..
public submit ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

switchWith() public méthode

.. jQuery difference.
public switchWith ( $markup )

text() public méthode

Return joined text content.
public text ( $text = null, $callback1 = null, $callback2 = null, $callback3 = null ) : string
Résultat string

toReference() public méthode

Useful when need to break chain.
public toReference ( phpQueryObject &$var ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$var phpQueryObject
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

toRoot() public méthode

.. NON JQUERY METHOD. Watch out, it doesn't creates new instance, can be reverted with end().
public toRoot ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

toggleClass() public méthode

..
public toggleClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

trigger() public méthode

Trigger a type of event on every matched element.
public trigger ( unknown_type $type, unknown_type $data = [] ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$type unknown_type
$data unknown_type
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

triggerHandler() public méthode

This particular method triggers all bound event handlers on an element (for a specific event type) WITHOUT executing the browsers default actions.
public triggerHandler ( unknown_type $type, unknown_type $data = [] ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$type unknown_type
$data unknown_type
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

unQuote() protected static méthode

protected static unQuote ( $value ) : unknown_type
$value
Résultat unknown_type

unbind() public méthode

..
public unbind ( unknown_type $type = null, unknown_type $callback = null ) : unknown
$type unknown_type
$callback unknown_type
Résultat unknown

unloadDocument() public méthode

CAUTION! None further operations will be possible on this document. All objects refering to it will be useless.
public unloadDocument ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

val() public méthode

Return form element value.
public val ( $val = null ) : string
Résultat string Fields value.

valid() public méthode

public valid ( )

whois() public méthode

HELPERS
public whois ( $oneNode = null )

wrap() public méthode

..
public wrap ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

wrapAll() public méthode

.. TODO testme...
public wrapAll ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

wrapAllOld() public méthode

..
public wrapAllOld ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

wrapAllPHP() public méthode

.. NON JQUERY METHOD.
public wrapAllPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

wrapInner() public méthode

..
public wrapInner ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

wrapInnerPHP() public méthode

..
public wrapInnerPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

wrapPHP() public méthode

..
public wrapPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery

xml() public méthode

public xml ( $xml = null, $callback1 = null, $callback2 = null, $callback3 = null )

xmlOuter() public méthode

public xmlOuter ( $callback1 = null, $callback2 = null, $callback3 = null )

Property Details

$charset public_oe property

public $charset

$current protected_oe property

Iterator interface helper.
protected $current

$document public_oe property

DOMDocument class.
public DOMDocument $document
Résultat DOMDocument

$documentFragment public_oe property

Every document is realy a full document, so even documentFragments can be queried against , but getDocument(id)->htmlOuter() will return only contents of .
public bool $documentFragment
Résultat boolean

$documentID public_oe property

public $documentID

$documentWrapper public_oe property

public DOMDocumentWrapper $documentWrapper
Résultat DOMDocumentWrapper

$elements public_oe property

Stack of selected elements.
public array $elements
Résultat array

$elementsBackup protected_oe property

protected $elementsBackup

$elementsInterator protected_oe property

Iterator interface helper.
protected $elementsInterator

$previous protected_oe property

protected $previous

$root protected_oe property

protected $root

$valid protected_oe property

Iterator interface helper.
protected $valid

$xpath public_oe property

XPath interface.
public DOMXPath $xpath
Résultat DOMXPath