Core/getInstance

From PunchCMS
Jump to: navigation, search

PCMS_Client::getInstance()

Overview

Get the CMS object instance. This way you don't have to work with a global CMS object.

Arguments

None

Returns

The CMS object instance.

Example

$objCms = PCMS_Client::getInstance();