Appendix E. PostNuke API

The PostNuke API, or pnAPI, is a collection of functions that allows developers to access and manage low-level content in an abstract and reusable manner. While primarily aimed at module developers, the pnAPI can also be useful to advanced theme and hack developers. The functions are listed below with a short description. Browse to docs.postnuke.com for more information on the pnAPI.

  • pnBlockGetInfo—Returns an array containing block information.

  • pnBlockLoad—Loads a block from a module or core.

  • pnBlockShow—Returns the output of the block display function.

  • pnConfigDelVar—Deletes a configuration variable.

  • pnConfigGetVar—Acquires a configuration variable.

  • pnConfigSetVar—Sets a configuration variable.

  • pnDBGetConn—Returns ...

Get PostNuke Content Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.