Class: module:models/Content

module:models/Content(id)

new module:models/Content(id)

Constructs a new Content. Document representing a content asset.

Parameters:
Name Type Description
id String

The id of the content asset.

Source:

Members

(inner) c_body :String

Type:
  • String
Source:

(inner) c_customCSSFile :String

Use this attribute to apply custom styles for this content asset.

Type:
  • String
Source:

(inner) c_Year :String

Type:
  • String
Source:

(inner) description :String

The localized content asset description.

Type:
  • String
Source:

(inner) id :String

The id of the content asset.

Type:
  • String
Source:

(inner) name :String

The localized content asset name.

Type:
  • String
Source:

(inner) page_description :String

The localized content asset page description.

Type:
  • String
Source:

(inner) page_keywords :String

The localized content asset page description.

Type:
  • String
Source:

(inner) page_title :String

The localized content asset page title.

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/Content}

Constructs a Content from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/Content

Optional instance to populate.

Source:
Returns:

The populated Content instance.

Type
module:models/Content