The PostNuke API is broken down in to a number of different areas. These areas are as follows:
Users
This area covers everything related to users. Confirming that a user is logged in, getting a user-specific configuration parameter, or logging a user into the PostNuke system are examples of functions that fall into this area.
Modules
This area covers everything related to modules. Seeing if a particular module is available, setting a module-specific configuration parameter, or loading in a particular module API are examples of functions that fall into this area.
Security
This area covers everything related to security. Checking a user's ability to carry out a particular action and generating unique request identifier keys to avoid spoof and repeat attacks are examples of functions that fall into this area.
Sessions
This area covers everything related to HTTP sessions. Setting session variables, creating session cookies to pass to the user's web browser, and initialising the PHP settings to allow correct implementation of the allowable security measures are examples of functions that fall into this area.
Variables
This area covers everything related to handling of variables. Cleaning and sanitising user input, correctly escaping information to be stored in a database, and ensuring that filenames do not have operating-system-unfriendly characters in them are examples of functions that fall into this area.
Output
This area covers everything related to output. Creating a table of information, adding a drop-down list to a form, and printing a page for the user are examples of functions that fall into this area.
Database
This area covers everything related to database. Initialising a database connection, getting a handle to a database, and obtaining a list of tables that the database contains are examples of functions that fall into this area.
Miscellaneous
This area covers any number of other functions that are useful but do not belong to any particular group. Loading the current user theme, getting status messages from the previously run command, and carrying out HTTP redirects to other pages are examples of functions that fall into this area.