set_callback

set_callback ( string $function_name )

Sets the callback function which is called on each element of the DOM when building outertext. The function must accept a single parameter of type simple_html_dom_node.

Parameter Description
function_name Name of the function.