CP.Content - contains features related to the content engine
The following tables list the members exposed by CPContentBaseClass.
Public Constructors
Name | Description | |
---|---|---|
![]() |
CPContentBaseClass |
Public Methods
Name | Description | |
---|---|---|
![]() |
AbortEdit | If workflow editing, edits to the record are aborted and the edit record is returned to the condition of hte live record. This condition is used in the Workflow publishing tool. |
![]() |
ApproveEdit | If workflow editing, the record is marked as approved for publishing. This condition is used in the Workflow publishing tool. |
![]() |
Delete | Delete records based from a table based on a content name and SQL criteria. |
![]() |
GetAddLink | Get an icon linked to the administration site which adds a new record to the content. |
![]() |
GetContentControlCriteria | Returns an SQL compatible where-clause which includes all the contentcontentid values allowed for this content name. |
![]() |
GetCopy | Get the string from the 'Copy Content' record based on it's name. If the record does not exist it is created with the default value provided. |
![]() |
GetDataSource | Returns the datasource name of the content given. |
![]() |
GetEditLink | Get an icon linked to the administration site which edits the referenced record. The record is identified by its ID. The recordname is only used for the display caption. |
![]() |
GetFieldProperty | Returns a named field property. Valid values for PropertyName are the field names of the 'Content Fields' content definition, also found as the columns in the ccfields table. |
![]() |
GetID | Returns the content id given its name |
![]() |
GetLinkAliasByPageID | Returns the primary link alias for the record id and querystringsuffix. If no link alias exists, it defaultvalue is returned. |
![]() |
GetPageLink | Return the appropriate link for a page. |
![]() |
GetProperty | Returns a named content property. Valid values for PropertyName are the field names of the 'Content' content definition, also found as the columns in the ccfields table. |
![]() |
GetRecordID | Return a record's ID given it's name. If duplicates exist, the first one ordered by ID is returned. |
![]() |
GetRecordName | Return a records name given it's ID. |
![]() |
GetTable | Get the table used for a content definition. |
![]() |
GetTemplateLink | If a template uses a fixed URL, the returns the link associted with a template. Otherwise it returns a blank string. |
![]() |
IsChildContent | Returns true if the childcontentid is a child of the parentcontentid |
![]() |
IsField | Used to test if a field exists in a content definition |
![]() |
IsLocked | Returns true if the record is currently being edited. |
![]() |
IsWorkflow | Returns true if the content is currently using workflow editing. |
![]() |
PublishEdit | If Workflow editing, the record is published. |
![]() |
SetCopy | Set a string in a 'Copy Content' record. The record will be created or modified. |
![]() |
SubmitEdit | If workflow editing, the record is submitted for pushlishing |