ph_getmode PowerHome formula function
Description
Returns the operating mode that PowerHome is currently running in.
Syntax
ph_getmode ( )
Return value
Integer. Returns the mode that PowerHome is currently running in. Returns a 0 if PowerHome is operating in "Normal" mode and returns a 1 if PowerHome is running in "Restricted" mode.