Environment Variable ze::$cVersion


When an admin or a visitor is looking at a content item, this contains the version of a content item which is currently in view.

In visitor mode this will always be equal to the ze::$visitorVersion variable.

Where You Can Use It

Anywhere in your PHP or JavaScript code. From Zenario 7.0.0 onwards.

Note that this variable is only available in JavaScript on the client when in admin mode; it will be undefined in visitor mode.