Find

This is the main selector function. Pass in any tag/id/class (or combination) CSS selector and this will return a TagArray of the elements inside the HTML that match it.

Prototype

public function find( $str )

Parameters

  • $str (string) - the selector string

Return

TagArray - a TagArray that contains the targeted elements