API docs     >     Extensions

CblockExtension

Description

The CblockExtension class, which represents an instance of a Cblock Extension.

Methods

Constructor of the CblockExtension class
Adds a custom permission for this Extension
Adds this Extension to the specified Cblock
Calls a specific Extension hook Callback method
Checks if a User owns a custom permission
Gets the instance of the Object this Extension is added to
Gets the Object Id of the current Object instance
Gets basic information about this Extension
Gets the path in the filesystem for the current Extension instance
Gets the Extension type
Installs this Extension
log
Logs a message to the History tab of the Cblock
Prototype callback function which is called when this Extension gets added to a Cblock
Prototype callback function which is called when the Cblock gets approved
Prototype callback function which is called when a Property of the Cblock gets changed
Prototype callback function which is called when the Cblock gets published
Prototype callback function which is called when this Extension gets removed from a Cblock
Prototype callback function which is called when the Cblock gets rendered
Prototype callback function which is called when this Extension is rendered in the Extension Admin
Prototype callback function which is called when the Extension Tab of the Cblock gets rendered
Prototype callback function which is called when the Cblock gets a new version
Removes this Extension from the specified Cblock
Removes a custom permission for this Extension
Sets the Extension to "installed"
Sets the Extension to "uninstalled"
Uninstalls this Extension
Checks if this Extension is used by the specified Cblock

Inherited from

Extension