Property | 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. |
Property | Type | Description | |
---|---|---|---|
$current | Iterator interface helper. | ||
$elementsBackup | |||
$elementsInterator | Iterator interface helper. | ||
$previous | |||
$root | |||
$valid | Iterator interface helper. |
Method | 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 ( |
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 ( |
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 ) |
Method | 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 |
Method | Description | |
---|---|---|
__dumpTree ( $node, $intend ) |
public ___wrapAllCallback ( $node ) : unknown_type | ||
$node | ||
return | unknown_type |
public __call ( $method, $args ) : unknown_type | ||
$method | ||
$args | ||
return | unknown_type |
public __construct ( $documentID ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public __loadSuccess ( $html ) : unknown_type | ||
$html | ||
return | unknown_type |
public _clone ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
Hello, Person and person
Result: [ ]public _empty ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public _next ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public _prev ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public add ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public addClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public addClassPHP ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public after ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public afterPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public ancestors ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public andSelf ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public append ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public appendPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public appendTo ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
protected attrEvents ( $attr, $oldAttr, $oldValue, $node ) |
public attrPHP ( $attr, $code ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public before ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public beforePHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
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 | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public callback ( $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public change ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public children ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public click ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public contents ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public contentsUnwrap ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public css ( ) : phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public dump ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public dumpDie ( ) |
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 |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
protected elementsContainsNode ( $nodeToCheck, $elementsStack = null ) |
public end ( $level = 1 ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public eq ( $num ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public static extend ( $class, $file = null ) : unknown_type | ||
$class | ||
$file | ||
return | unknown_type |
public filter ( $selectors, $_skipHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public filterCallback ( $callback, $_skipHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public find ( $selectors, $context = null, $noHistory = false ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public getDocument ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public getDocumentID ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
$myDocumentId;
phpQuery::newDocument('
')
->getDocumentIDRef($myDocumentId)
->find('div')->...
. public getDocumentIDRef ( &$documentID ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
protected getElementSiblings ( $direction, $selector = null, $limitToOne = false ) |
protected getNodeXpath ( unknown_type $oneNode = null, $namespace = null ) : string | ||
$oneNode | unknown_type | |
return | string |
public html ( unknown_type $html = null, $callback1 = null, $callback2 = null, $callback3 = null ) : string | phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$html | unknown_type | |
return | string | phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public insert ( unknown_type $target, unknown_type $type ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$target | unknown_type | |
$type | unknown_type | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public insertAfter ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public insertBefore ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public is ( $selector, $nodes = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public length ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public load ( $url, $data = null, $callback = null ) : phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQuery | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public map ( $callback, $param1 = null, $param2 = null, $param3 = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public markup ( $markup = null, $callback1 = null, $callback2 = null, $callback3 = null ) : unknown_type | ||
$markup | ||
return | unknown_type |
public markupOuter ( $callback1 = null, $callback2 = null, $callback3 = null ) : unknown_type | ||
return | unknown_type |
public markupPHP ( $code = null ) : unknown_type | ||
$code | ||
return | unknown_type |
protected matchClasses ( unknown_type $class, unknown_type $node ) : boolean | ||
$class | unknown_type | |
$node | unknown_type | |
return | boolean |
public newInstance ( array $newStack = null ) | ||
$newStack | array | Optional. Will replace old stack with new and move old one to history.c |
public next ( $cssSelector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public nextAll ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public not ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public parent ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public parents ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public php ( $code = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public plugin ( $class, $file = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public prepend ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public prependPHP ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public prependTo ( $seletor ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public prev ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public prevAll ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public remove ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public removeAttr ( $attr ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public removeClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public replaceAll ( string $selector ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$selector | string | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public replaceWith ( string | phpQuery $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$content | string | phpQuery | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public replaceWithPHP ( $code ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public reverse ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public siblings ( $selector = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public size ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public slice ( unknown_type $start, unknown_type $end = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$start | unknown_type | |
$end | unknown_type | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public submit ( $callback = null ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public toReference ( phpQueryObject &$var ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$var | phpQueryObject | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public toRoot ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public toggleClass ( $className ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public trigger ( unknown_type $type, unknown_type $data = [] ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$type | unknown_type | |
$data | unknown_type | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public triggerHandler ( unknown_type $type, unknown_type $data = [] ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
$type | unknown_type | |
$data | unknown_type | |
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
protected static unQuote ( $value ) : unknown_type | ||
$value | ||
return | unknown_type |
public unbind ( unknown_type $type = null, unknown_type $callback = null ) : unknown | ||
$type | unknown_type | |
$callback | unknown_type | |
return | unknown |
public unloadDocument ( ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public wrap ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public wrapAll ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public wrapAllOld ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public wrapAllPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public wrapInner ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public wrapInnerPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public wrapPHP ( $codeBefore, $codeAfter ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery | ||
return | phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery |
public xml ( $xml = null, $callback1 = null, $callback2 = null, $callback3 = null ) |
public xmlOuter ( $callback1 = null, $callback2 = null, $callback3 = null ) |
public bool $documentFragment | ||
return | boolean |
public DOMDocumentWrapper $documentWrapper | ||
return | DOMDocumentWrapper |