API docs     >     Pages and Sites

Page

Description

The Page class, which represents an instance of a Page.

Methods

Constructor of the Page class
Acquires a lock on the current instance of this Object
Adds an embedded Cblock to this Page
Assigns a Cblock to a specific Contentarea in this Page
Adds a specific version of a Cblock to a Contentarea in this Page
Approves the current version of this Page and all embedded Cblocks and creates a new working version
Approves the specified version of this Page and all embedded Cblocks
Calculates a unique permanent name for this Page
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 Page to this Page
Copies Properties, Extensions, Permissions, Tags, assigned and embedded Cblocks from another Page into a new version of this Page
Copies Permissions from another Page to this Page
Copies Properties from another Object to this Object
Copies Tags from another Page to this Page
Moves this Page to the trashcan
Cleans up the provided permanent name
get
Gets basic information about this Page
Gets Cblock Page link for a specific link id
Gets the version of a Cblock linked to a specific version and Contentarea of this Page
Gets a list of Cblocks in a Contentarea for the version of this Page
Gets all Contentareas of this Page including Cblocks and content
Gets the link Id of an embedded Cblock
Gets the first approved version of the Object instance
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
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 Id of the Site of this Page
Gets the URL of this Page
Gets the version of the Object instance
Gets all versions of the Object instance
Gets all versions of the Page which contains the specified 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 Page by copying the currently instanced version and updates the currently instanced Object to the new version
Callback method which is executed when a Usergroup permission on a Page changes
Callback method which is executed when Usergroup permissions on a Page change
Helper method for processing of scheduled approvals
Sets the state of a specific version of this Page to "published"
Releases a lock on the current instance of this Object
Removes a specific Cblock from a Contentarea in this Page
Removes an assignment of a Cblock to this Page
Sets the "active" state of this Page
Saves the order of Cblocks in this Page
Sets the order of Cblocks in a specific Contentarea in this Page
Set "hidden" state of this Page
Sets Navigation of this Page
Sets the permanent name of this Page
Assigns a Template to this Page
Assigns a Template to this Page by using the Template identifier
Restores this Page from the trashcan

Inherited from

Versionable