static method extend [line 2306]
static unknown_type extend(
$class
$class, [$file
$file = null])
|
|
Deprecated, use $pq->plugin() instead.
Tags:
Parameters:
static method unQuote [line 1310]
static unknown_type unQuote(
$value
$value)
|
|
Tags:
Parameters:
constructor __construct [line 83]
method add [line 2491]
Enter description here...
Tags:
Parameters:
method addClass [line 2806]
Enter description here...
Tags:
Parameters:
method addClassPHP [line 2824]
Enter description here...
Tags:
Parameters:
method after [line 2027]
Enter description here...
Tags:
Parameters:
method afterPHP [line 2035]
Enter description here...
Tags:
Parameters:
method ancestors [line 1941]
Enter description here...
Tags:
Parameters:
method andSelf [line 2795]
Enter description here...
Tags:
method append [line 1950]
Enter description here...
Tags:
Parameters:
method appendPHP [line 1958]
Enter description here...
Tags:
Parameters:
method appendTo [line 1966]
Enter description here...
Tags:
Parameters:
method attr [line 2635]
void attr(
[
$attr = null], [
$value = null])
|
|
Tags:
Parameters:
method attrEvents [line 2586]
void attrEvents(
$attr,
$oldAttr,
$oldValue,
$node)
|
|
Tags:
Parameters:
method attrPHP [line 2678]
Enter description here...
Tags:
Parameters:
method before [line 2001]
Enter description here...
Tags:
Parameters:
method beforePHP [line 2009]
Enter description here...
Tags:
Parameters:
method bind [line 1424]
Binds a handler to one or more events (like click) for each matched element.
Can also bind custom events.
Tags:
Parameters:
method callback [line 2932]
Run callback on actual object.
Tags:
Parameters:
method change [line 1453]
Enter description here...
Tags:
Parameters:
method children [line 1917]
Enter description here...
Tags:
Parameters:
method click [line 1473]
Enter description here...
Tags:
Parameters:
method contents [line 1597]
Enter description here...
Tags:
method contentsUnwrap [line 1616]
Enter description here...
jQuery difference.
Tags:
method count [line 1679]
Tags:
Implementation of:
- Countable::count
method css [line 1369]
Enter description here...
Tags:
method current [line 2983]
Tags:
Overridden in child classes as:
- QueryTemplatesParse::current()
- Iterator override to return extended phpQuery object insted of DOMNode.
Implementation of:
- Iterator::current
method debug [line 275]
method documentFragment [line 131]
void documentFragment(
[
$state = null])
|
|
Tags:
Parameters:
method dump [line 3138]
Dump htmlOuter and preserve chain. Usefull for debugging.
Tags:
method dumpDie [line 3191]
Dump htmlOuter and stop script execution. Usefull for debugging.
Tags:
method dumpLength [line 3155]
method dumpTree [line 3164]
void dumpTree(
[
$html = true], [
$title = true])
|
|
Tags:
Parameters:
method dumpWhois [line 3146]
method each [line 2917]
Enter description here...
Tags:
Parameters:
method elementsContainsNode [line 2513]
void elementsContainsNode(
$nodeToCheck, [
$elementsStack = null])
|
|
Tags:
Parameters:
method end [line 1689]
Enter description here...
Tags:
Parameters:
method eq [line 1652]
Enter description here...
Tags:
Parameters:
method filter [line 1175]
Enter description here...
Tags:
Parameters:
method filterCallback [line 1154]
Enter description here...
jQuery difference.
Callback:
Tags:
Parameters:
method find [line 690]
Enter description here...
Tags:
Parameters:
method get [line 480]
array|DOMElement get(
[int
$index = null], [
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
Return matched DOM nodes.
Tags:
Parameters:
method getDocument [line 190]
Returns object with stack set to document root.
Tags:
method getDocumentID [line 205]
Get object's Document ID.
Tags:
method getDocumentIDRef [line 181]
Saves object's DocumentID to $var by reference.
$myDocumentId;
Tags:
Parameters:
method getDOMDocument [line 197]
DOMDocument getDOMDocument(
)
|
|
Tags:
method getElementSiblings [line 2398]
void getElementSiblings(
$direction, [
$selector = null], [
$limitToOne = false])
|
|
Tags:
Parameters:
method getNodeAttrs [line 2666]
void getNodeAttrs(
$node)
|
|
Tags:
Parameters:
method getNodeXpath [line 3060]
string getNodeXpath(
[unknown_type
$oneNode = null], [
$namespace = null])
|
|
Returns node's XPath.
Tags:
Parameters:
method getString [line 506]
array|string getString(
[int
$index = null], [
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
Return matched DOM nodes.
jQuery difference.
Tags:
Parameters:
method getStrings [line 533]
array|string getStrings(
[int
$index = null], [
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
Return matched DOM nodes.
jQuery difference.
Tags:
Parameters:
method hasClass [line 2841]
bool hasClass(
string
$className)
|
|
Enter description here...
Tags:
Parameters:
method hide [line 1385]
method html [line 1823]
Enter description here...
Tags:
Parameters:
method htmlOuter [line 1866]
String htmlOuter(
[
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
Enter description here...
Tags:
Parameters:
method index [line 2220]
Enter description here...
Tags:
Parameters:
method insert [line 2055]
Internal insert method. Don't use it.
Tags:
Parameters:
method insertAfter [line 2043]
Enter description here...
Tags:
Parameters:
method insertBefore [line 2018]
Enter description here...
Tags:
Parameters:
method is [line 1125]
Enter description here...
Tags:
Parameters:
method isChar [line 304]
bool isChar(
string
$char)
|
|
Determines if $char is really a char.
Tags:
Parameters:
method isHTML [line 218]
method isRegexp [line 290]
method isRoot [line 142]
method isXHTML [line 221]
method isXML [line 224]
method key [line 2989]
Tags:
Implementation of:
- Iterator::key
method length [line 1676]
Enter description here...
Tags:
method load [line 1322]
Enter description here...
Tags:
Parameters:
method map [line 2945]
Enter description here...
Tags:
Parameters:
method markup [line 1796]
unknown_type markup(
[$markup
$markup = null], [
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
jQuey difference
Tags:
Parameters:
method markupEvents [line 1778]
void markupEvents(
$newMarkup,
$oldMarkup,
$node)
|
|
Tags:
Parameters:
method markupOuter [line 1809]
unknown_type markupOuter(
[$markup
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
jQuey difference
Tags:
Parameters:
method markupOuterPHP [line 1909]
unknown_type markupOuterPHP(
$code
0)
|
|
TODO doc
Tags:
Parameters:
method markupPHP [line 1899]
unknown_type markupPHP(
[$code
$code = null])
|
|
TODO doc
Tags:
Parameters:
method matchClasses [line 588]
boolean matchClasses(
unknown_type
$class, unknown_type
$node)
|
|
Enter description here...
In the future, when PHP will support XLS 2.0, then we would do that this way: contains(tokenize(@class, '\s'), "something")
Tags:
Parameters:
method merge [line 2503]
method newInstance [line 559]
void newInstance(
[array
$newStack = null])
|
|
Returns new instance of actual class.
Tags:
Parameters:
method next [line 3003]
Double-function method.
First: main iterator interface method. Second: Returning next sibling, alias for _next().
Proper functionality is choosed automagicaly.
Tags:
Implementation of:
- Iterator::next
Parameters:
method nextAll [line 2390]
method not [line 2444]
Enter description here...
Tags:
Parameters:
method offsetExists [line 3028]
void offsetExists(
$offset)
|
|
Tags:
Implementation of:
- ArrayAccess::offsetExists
Parameters:
method offsetGet [line 3034]
Tags:
Implementation of:
- ArrayAccess::offsetGet
Parameters:
method offsetSet [line 3040]
void offsetSet(
$offset,
$value)
|
|
Tags:
Implementation of:
- ArrayAccess::offsetSet
Parameters:
method offsetUnset [line 3047]
void offsetUnset(
$offset)
|
|
Tags:
Implementation of:
- ArrayAccess::offsetUnset
Parameters:
method parent [line 2529]
Enter description here...
Tags:
Parameters:
method parents [line 2546]
Enter description here...
Tags:
Parameters:
method parseSelector [line 312]
void parseSelector(
$query)
|
|
Tags:
Parameters:
method php [line 1891]
Just like html(), but returns markup with VALID (dangerous) PHP tags.
Tags:
Parameters:
method plugin [line 2294]
Enter description here...
Tags:
Parameters:
method prepend [line 1975]
Enter description here...
Tags:
Parameters:
method prependPHP [line 1984]
Enter description here...
Tags:
Parameters:
method prependTo [line 1992]
Enter description here...
Tags:
Parameters:
method prev [line 2370]
Enter description here...
Tags:
Parameters:
method prevAll [line 2380]
method pseudoClasses [line 851]
void pseudoClasses(
$class)
|
|
Tags:
Parameters:
method remove [line 1757]
Enter description here...
Tags:
Parameters:
method removeAttr [line 2709]
Enter description here...
Tags:
Parameters:
method removeClass [line 2854]
Enter description here...
Tags:
Parameters:
method replaceAll [line 1744]
Enter description here...
Tags:
Parameters:
method replaceWith [line 1733]
Enter description here...
Tags:
Parameters:
method replaceWithPHP [line 1722]
Enter description here...
Tags:
Parameters:
method reverse [line 2262]
Enter description here...
Tags:
method rewind [line 2968]
Tags:
Implementation of:
- Iterator::rewind
method runQuery [line 618]
void runQuery(
$XQuery, [
$selector = null], [
$compare = null])
|
|
Tags:
Parameters:
method serialize [line 233]
Enter description here...
Tags:
method serializeArray [line 243]
array serializeArray(
[
$submit = null])
|
|
Enter description here...
Tags:
Parameters:
method show [line 1377]
method siblings [line 2426]
Enter description here...
Tags:
Parameters:
method size [line 1666]
Enter description here...
Tags:
method slice [line 2241]
Enter description here...
Tags:
Parameters:
method stack [line 2574]
void stack(
[
$nodeTypes = null])
|
|
Internal stack iterator.
Tags:
Parameters:
method stackIsRoot [line 151]
method submit [line 1463]
Enter description here...
Tags:
Parameters:
method switchWith [line 1636]
void switchWith(
$markup)
|
|
Enter description here...
jQuery difference.
Tags:
Parameters:
method text [line 2272]
String text(
[
$text = null], [
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
Return joined text content.
Tags:
Parameters:
method toggleClass [line 2873]
Enter description here...
Tags:
Parameters:
method toReference [line 128]
Saves actual object to $var by reference.
Useful when need to break chain.
Tags:
Parameters:
method toRoot [line 162]
Enter description here...
NON JQUERY METHOD
Watch out, it doesn't creates new instance, can be reverted with end().
Tags:
method trigger [line 1397]
Trigger a type of event on every matched element.
Tags:
Parameters:
method triggerHandler [line 1410]
This particular method triggers all bound event handlers on an element (for a specific event type) WITHOUT executing the browsers default actions.
Tags:
Parameters:
method unbind [line 1443]
unknown unbind(
[unknown_type
$type = null], [unknown_type
$callback = null])
|
|
Enter description here...
Tags:
Parameters:
method unloadDocument [line 215]
Unloads whole document from memory.
CAUTION! None further operations will be possible on this document. All objects refering to it will be useless.
Tags:
method val [line 2728]
String val(
[
$val = null])
|
|
Return form element value.
Tags:
Parameters:
method valid [line 3020]
Tags:
Implementation of:
- Iterator::valid
method whois [line 3095]
void whois(
[
$oneNode = null])
|
|
Tags:
Parameters:
method wrap [line 1548]
Enter description here...
Tags:
Parameters:
method wrapAll [line 1503]
Enter description here...
TODO testme...
Tags:
Parameters:
method wrapAllOld [line 1484]
Enter description here...
Tags:
Parameters:
method wrapAllPHP [line 1532]
Enter description here...
NON JQUERY METHOD
Tags:
Parameters:
method wrapInner [line 1572]
Enter description here...
Tags:
Parameters:
method wrapInnerPHP [line 1584]
Enter description here...
Tags:
Parameters:
method wrapPHP [line 1560]
Enter description here...
Tags:
Parameters:
method xml [line 1856]
void xml(
[
$xml = null], [
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
Tags:
Parameters:
method xmlOuter [line 1878]
void xmlOuter(
[
$callback1 = null], [
$callback2 = null], [
$callback3 = null])
|
|
Tags:
Parameters:
method _clone [line 1705]
Enter description here...
Normal use ->clone() .
Tags:
method _empty [line 2900]
Proper name without underscore (just ->empty()) also works.
Removes all child nodes from the set of matched elements.
Example: pq("p")._empty()
HTML: <p>Hello, <span>Person</span> <a href="#">and person</a></p>
Result: [ <p></p> ]
Tags:
method _next [line 2350]
Safe rename of next().
Use it ONLY when need to call next() on an iterated object (in same time). Normaly there is no need to do such thing ;)
Tags:
Parameters:
method _prev [line 2362]
Use prev() and next().
Tags:
Parameters:
method __call [line 2316]
unknown_type __call(
$method
$method, $args
$args)
|
|
Tags:
Parameters:
method __get [line 112]
unknown_type __get(
$attr
$attr)
|
|
Tags:
Parameters:
method __loadSuccess [line 1353]
unknown_type __loadSuccess(
$html
$html)
|
|
Tags:
Parameters:
method __pseudoClassParam [line 1117]
void __pseudoClassParam(
$paramsString)
|
|
Tags:
Parameters:
method __toString [line 1882]
method ___wrapAllCallback [line 1518]
unknown_type ___wrapAllCallback(
$node
$node)
|
|
Tags:
Parameters: