create_collection

Create a new collection for the user.

Variable Description Data type Default value
$name * The name of the collection. string
$forupload (boolean) False by default. If this is set to true and the name is an empty string, the collection will receive the standard upload naming format allowing for regional date formatting. bit (0 or 1) 0

Return values

Integer|bool - ID of the collection created, false if collection creation is not permitted