Content Item Functions

These functions give you information about Content Items.

Calling Content Item Functions

You can use syntax of the form:

functionName()

to call these functions in your PHP code.

categoryPublicName()

Name in Zenario 8

ze\category::publicName()

This function returns a category's public name, if it has one.

getCIDAndCTypeFromTagId()

Name in Zenario 8

ze\content::getCIDAndCTypeFromTagId()

This function takes a tag id and splits it up into a Content Id and a Content Type.

isDraft()

Name in Zenario 8

ze\content::isDraft()

This function allows you to check whether a Content Item has a draft.

isPublished()

Name in Zenario 8

ze\content::isPublished()

This function allows you to check whether a Content Item is published.

isSpecialPage()

Name in Zenario 8

ze\content::isSpecialPage()

This checks whether a given Content Item is a Special Page.