this is the doxygen of IPS 4's PHP files. i will try to keep it current with each new release.
download file, extra into your IPS root path.
open browser, http://mysite.com/phpdoc
*note: you can upload it to your server, but if you do local development, probably best to keep it there and the above link for demo will be updated with each release i do.