Zenario

Login

Create account

Open search
X
  • Documentation home
  • Sysadmin
    • Directory structure
    • Running multiple sites
    • Multi-site administrator authentication
    • Upgrading Zenario (quick)
    • Upgrading Zenario (cautious)
    • Relocating a site
    • Software version numbers
  • Designer
    • Creating a layout
    • Creating a skin
    • Structuring a new page
    • CSS on pages and layouts
    • Twig for server-side code
    • Twig for smart emails
  • Developer
    • Quick-start guides
    • TUIX elements and properties
    • Methods you write
    • Core function/variable reference
    • Plugin function/variable reference
 
Home Developer Core function/variable reference PHP/JS environment variables ze::$cID or zenario.cID
 
 
 

Environment Variable ze::$cID or zenario.cID

Summary

The id of the current content item.

Where You Can Use It

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

Description

Content Items have a two way primary key: their id and their type. You need both a $cID and a $cType to uniquely identify a content item, e.g. 1, html.

 
 
  • Quick-start guides
  • TUIX elements and properties
  • Methods you write
  • Core function/variable reference
    • PHP/JS environment variables
    • PHP function libraries
    • Twig functions
    • JavaScript function libraries
  • Plugin function/variable reference
 
 
Home | Sitemap | Privacy | Contact us | Manage cookies
Tribal Systems logo website design
Copyright © Tribal Ltd. 1997-2026