Documentation
To begin using PQLite, please visit our get started section. If you are already acquainted with PQLite, documentation for all of our functions can be found on their respective pages:
Class Constructors
Functions
PQLite Class:
find( $str )- find a tag using a CSS selectorgetHTML( $str )- get manipulated HTMLgetOriginalHTML( $str )- get original, unchanged HTML
Tag Array Class:
get( $index )- get a tag at an indexgetNumTags()- get the number of tagsgetOuterHTML()- get the outer htmlgetInnerHTML()- get the inner htmlgetAttr( $name )- get an attributegetChildren()- get the childrensetOuterHTML( $html )- set the outer htmlsetInnerHTML( $html )- set the inner htmlsetAttr( $name, $value )- set an attributeremAttr( $name )- remove an attributeremSelf()- remove a tagaddClass( $class )- add a classremClass( $class )- remove a classeach( $function )- apply a function to every tag