public textBefore ( string $text = null ) : mixed | ||
$text | string | If this is set, it will be inserted before each node in the current set of selected items. |
return | mixed | Returns the DOMQuery object if $text was set, and returns a string (possibly empty) if no param is passed. |