Метод |
Описание |
|
__construct ( $nodes = [] ) |
Methods /// |
|
addClass ( $classname ) |
|
|
after ( $content ) |
|
|
append ( $content ) |
|
|
attr ( $name, $value = null ) |
|
|
before ( $content ) |
|
|
clear ( ) |
|
|
count ( ) : integer |
Get the count of matched elements. |
|
getIterator ( ) |
} |
|
hasClass ( $classname ) |
|
|
html ( $value = null ) |
|
|
offsetExists ( $offset ) |
|
|
offsetGet ( $offset ) |
|
|
offsetSet ( $offset, $value ) |
|
|
offsetUnset ( $offset ) |
|
|
parseFile ( string $path, resource $context = null ) : pQuery\DomNode |
Query a file or url. |
|
parseStr ( string $html ) : pQuery\DomNode |
Query a string of html. |
|
prepend ( $content = null ) |
|
|
prop ( $name, $value = null ) |
|
|
remove ( $selector = null ) |
|
|
removeAttr ( $name ) |
|
|
removeClass ( $classname ) |
|
|
replaceWith ( $content ) |
|
|
tagName ( $value = null ) |
|
|
text ( $value = null ) |
|
|
toggleClass ( $classname, $switch = null ) |
|
|
unwrap ( ) |
|
|
val ( $value = null ) |
|
|
wrap ( $wrapping_element ) |
|
|
wrapInner ( $wrapping_element ) |
|
|