ph_wcsethtml PowerHome formula function
Description
Causes the Web Center to render the specified HTML as a web page within its window.
Syntax
ph_wcsethtml ( html )
Argument Description
html A string representing a valid HTML page to be rendered by the Web Center
Return value
Integer. Returns a 0 if successful. Returns a 2 if the Web Center is not open.
Usage
In order for this function to operate, the internal PowerHome webserver must be enabled. The HTML is rendered by using the /ph-cgi/directhtml webserver function.