2. The M2 Object

All Moski2.net sites have an $M2 variable available. This is an instance of the M2 object, which allows you to interact with the Moski2Engine. Primarily it is used for accessing and handling content, but there are a number of methods available, each described in the following sections.