buildCollection Site Method
Variable |
Type |
Description |
type |
CollectionType |
The type of the Collection. |
title |
String |
The title for the Collection. |
articleId |
String |
A unique article ID you chose to identify a Collection within your site. |
url |
String |
The canonical absolute URL for this Collection. |
Java Example
Collection collection = site.buildCollection(type, title, articleId, url);
NodeJS Example
var collection = site.buildCollection(type, title, articleId, url);
PHP Example
$collection = site->buildCollection(type, title, articleId, url);
Python Example
collection = site.build_collection(type, title, articleId, url)
Ruby Example
collection = site.build_collection(type, title, articleId, url)