Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleFor example: ./core/packages/types/dmHTML.cfc

<cfcomponent 
  extends="types" 
  displayname="HTML Page" 
  hint="Forms the basis of the content framework of the site.  HTML objects include containers and static information." 
  bObjectBroker="1" 
  bUseInTree="1" 
  bFriendly="1">

...

Attribute

Description

Default

bSystem

Flags content type as a system only component. That is the component represents soemthing that is not content. For example, a log, order record and so on.

false

bFriendly

Activates the "Friendly URL" service for this content type.

false

fualias

Specifies the default friendly url stem. For example, "news" for dmNews. If nothing is specified, the component uses displayname or component filename. Note tree based content (for example, HTML pages) does not use this alias by default.

(none)

bObjectBroker

Activates the Object Broker for this content type.

false

objectbrokermaxobjects

Determines the maximum number of objects to broker in Object Broker.

100

bUseInTree

Enables the content type to be used within the FarCry site overview tree. For example, HTML (dmHTML) and Link (dmLink).

false

bAudit

Activates audit logging for creation, update and deletes on this content type.

true

bAbstract

Nominates component as an abstract class. This will prohibit the type being deployed to the data persistence layer, and being invoked directly by the framework. For example, types and versions.

false

bRefObjects

Instructs the framework to create lookup references in the refObjects table. Setting the value to false means that all references to the content type must include the specific typename. false

true

Deprecated Metadata

Do not use this metadata. This is provided for backward compatibility only and will be removed in later revisions of the code base.

...