Namespace Contensive.BaseClasses
Classes
- CPAddonBaseClass
CP.Addon - The Addon class represents the instance of an add-on. To use this class, use its constructor and open an cpcore.addon. Use these properties to retrieve it's configuration
- CPAdminUIBaseClass
Methods to create a uniform admin UI interface
- CPBaseClass
CP - The object passed to an addon in the add-ons execute method. See the AddonBaseClass for details of the addon execute method.
- CPBlockBaseClass
CP.Block - an object that holds and manipulates a block of html
- CPCSBaseClass
CP.CS - The secondary interface to execute queries on a sql database. Use dbModels when possible (does not use cdef metadata). To run queries, use executeQuery, executeNonQuery and executeNonQueryAsync.
- CPCacheBaseClass
CP.Cache - local and remote caching
- CPDateBaseClass
provate consistent JSON methods in a single updateable layer
- CPDbBaseClass
CP.Db - This object references the database directly
- CPDocBaseClass
The document being constructed
- CPDocBaseClass.HtmlAssetClass
assets to be added to the head section (and end-of-body) of html documents
- CPEmailBaseClass
Methods to send and manage email.
- CPFileBaseClass
This class has been deprecated. use cp.CdnFiles, cp.PrivateFiles, cp.WwwFiles, or cp.TempFiles instead.
- CPFileSystemBaseClass.FileDetail
argument details for file and folder methods
- CPFileSystemBaseClass.FolderDetail
argument details for file and folder methods
- CPGroupBaseClass
Methods and Properties for Groups
- CPHttpBaseClass
Helper methods to perform common http requests
- CPImageBaseClass
Image methods
- CPJSONBaseClass
provate consistent JSON methods in a single updateable layer
- CPLayoutBaseClass
Manage layout records
- CPLogBaseClass
CP.Log, methods to access and control the logging system
- CPMQTTBaseClass
MQTT interface for publishing messages to IoT devices and subscribing to receive messages from them. Configuration is set through site properties: mqtt endpoint, mqtt broker port, mqtt certificate filename, mqtt certificate password, mqtt root certificate filename.
- CPMessageQueueBaseClass
Message queue
- CPMustacheBaseClass
Manage mustache compatible templating
- CPRequestBaseClass
Properties of optional http request
- CPResponseBaseClass
Control over the optional http response
- CPSMSBaseClass
text messaging (SNS) layer. Provide properties and methods to abstract the service for addons.
- CPSiteBaseClass
Application settings and methods
- CPUserBaseClass
properties and methods that relate to the current user identity.
- CPUserErrorBaseClass
Can be used to accumulate user errors during a disperate process.
- CPUtilsBaseClass
helper methods to support processes, properties and methods used throughout
- CPUtilsBaseClass.addonExecuteContext
When an addon is execute, this object describes the environment in which the addon will be used.
- CPUtilsBaseClass.addonExecuteHostRecordContext
When an addon is executed from content with {% JSON %}, this object describes the record in which the command was executed
Enums
- CPContentBaseClass.FieldTypeIdEnum
Field types. This enum replaces FileTypeIdEnug.
- CPContentBaseClass.fileTypeIdEnum
Obsolete. Use FieldTypeIdEnum
- CPDocBaseClass.HtmlAssetTypeEnum
Types of assets for htmlAsset.assetType property, like script or style
- CPHtml5BaseClass.EditorContentType
The type of content being edited with the html editor. Used to determine types of addons that can be included
- CPHtml5BaseClass.EditorUserRole
The role of the user
- CPHtmlBaseClass.EditorContentScope
The type of content being edited with the html editor. Used to determine types of addons that can be included
- CPHtmlBaseClass.EditorUserScope
The role of the user
- CPLogBaseClass.LogLevel
Log levels
- CPUtilsBaseClass.addonContext
When an addon is executed, this is a description of the context of the method. Used to support features like html-comments only appropriate for some context