new module:models/ContentFolder(id)
Constructs a new ContentFolder.
Document representing a content folder.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
String | The id of the content folder. |
- Source:
Members
(inner) c_customCSSFile :String
Use this attribute to apply custom styles for this category.
Type:
- String
- Source:
(inner) description :String
The localized content folder description.
Type:
- String
- Source:
(inner) folders :Array.<module:models/ContentFolder>
The array of content subfolders. This array can be empty.
Type:
- Array.<module:models/ContentFolder>
- Source:
(inner) id :String
The id of the content folder.
Type:
- String
- Source:
(inner) name :String
The localized content folder name.
Type:
- String
- Source:
(inner) page_description :String
The localized content folder page description.
Type:
- String
- Source:
(inner) page_keywords :String
The localized content folder page description.
Type:
- String
- Source:
(inner) page_title :String
The localized content folder page title.
Type:
- String
- Source:
(inner) parent_folder_id :String
The id of the parent content folder.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/ContentFolder}
Constructs a ContentFolder 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/ContentFolder | Optional instance to populate. |
- Source:
Returns:
The populated ContentFolder instance.