API docs     >     Content Blocks

Cblock

Description

The Cblock class, which represents an instance of a Content Block.

Methods

Constructor of the Cblock class
Acquires a lock on the current instance of this Object
Adds an Entrymask to this version of the Cblock
Adds an Entrymask to this Cblock (by identifier)
Approves the current version of this Cblock and creates a new working version
Approves the specified version of this Cblock
Calculates a unique permanent name for this Cblock
Calls a specific Extension hook Callback method
Calls a specific Extension hook Callback method
Checks if the specified lock token is set on the current instance of this Object
Copies Extensions from another Cblock to this Cblock
Copies Properties, Permissions, Tags and content from another Cblock into a new version of this Cblock
Copies Permissions from another Object to this Object
Copies Properties from another Object to this Object
Copies Tags from another Object to this Object
Moves this Cblock to the trashcan
Cleans up the provided permanent name
get
Gets basic information about this Cblock
Gets all content of this Cblock
Gets all Entrymasks of this Cblock
Gets the first approved version of the Object instance
Gets Formfields of this Cblock including content, optionally of one specific Entrymask
Gets the Object Id of the current instance
Gets the latest approved version of the Object instance
Gets the latest version of the Object instance
Gets all published Mailings linked to this Cblock
Gets all Mailing versions linked to this Cblock
Gets all published Pages linked to this Cblock
Gets all Pages of a specific Site which are linked to this Cblock
Gets all Page versions linked to this Cblock
Checks if the current instance of this Object is locked
Gets the name of the Properties Table for this Object
Gets the currently published version of the Object instance
Gets the version of the Object instance
Gets all versions of this Cblock
Checks if the published version of the Object instance is 999999 (ALWAYS_LATEST_APPROVED_VERSION) and thus the latest approved version of the Object will get published automatically on approval.
Generates a new version of this Cblock
Callback method which is executed when a Usergroup permission on a Cblock changes
Callback method which is executed when Usergroup permissions on a Cblock change
Sets the state of a specific version of this Cblock to "published"
Releases a lock on the current instance of this Object
Removes an Entrymask from this Cblock
Flags this Cblock as an "embedded" Cblock
Sets the order of Entrymasks in this Cblock
Saves content to a Formfield
Sets the permanent name of this Cblock
Restores this Cblock from the trashcan

Inherited from

Versionable