Functions and Variables for use anywhere

A list of functions and variables that can be called from anywhere in the CMS.

Environment Variables

These variables give you information about where your code is currently running from.

Admin Functions

These functions help you provide functionality for Administrators.

Array/Object Functions

These functions can help you manage arrays, fetch remote content and read XML files.

Content Item Functions

These functions give you information about Content Items.

Database Functions

These functions help you connect to databases and run SQL queries.

Extranet User Functions

These functions let you get details on users, and check whether a given user has permission to view a given content item.

File Functions

These functions let you add documents or pictures into the CMS, then display documents and pictures that are stored in the CMS.

Link, Path and URL Functions

These functions let you access system paths and generate links.

String Functions

These functions let you escape, validate and manipulate text.

System Functions

These functions let you check system information (such as site settings or which content items are special pages), include other Modules and send Signals.

JavaScript Functions

These functions are available in JavaScript on any page in the CMS.

JavaScript Functions for Admin Mode

These are JavaScript functions that you can only call in admin mode.