• Features
  • Pricing
  • Sectors
  • Our Users
  • Resources
  • Blog
  • Contact
  • Get started for free

Knowledge Base

  • Introduction
  • User guides
  • Administration
  • System
  • Troubleshooting
  • Developers
  • Plugins
  • API
  • Help
Resource functions
  • get_resource_field_data
  • create_resource
  • delete_resource
  • copy_resource
  • get_resource_log
  • update_resource_type
  • get_resource_path
  • get_resource_data
  • get_alternative_files
  • get_resource_types
  • add_alternative_file
  • delete_alternative_file
  • upload_file
  • upload_file_by_url
  • get_related_resources
  • resource_log_last_rows
  • replace_resource_file
  • get_resource_all_image_sizes
  • put_resource_data
  • update_related_resource
  • relate_all_resources
Collection functions
  • get_user_collections
  • add_resource_to_collection
  • remove_resource_from_collection
  • create_collection
  • delete_collection
  • search_public_collections
  • get_collection
  • save_collection
  • show_hide_collection
  • send_collection_to_admin
Search functions
  • do_search
  • search_get_previews
IIIF
  • IIIF
Metadata functions
  • get_field_options
  • get_node_id
  • get_nodes
  • add_resource_nodes_multi
  • update_field
  • add_resource_nodes
  • set_node
User functions
  • login
  • get_users
  • mark_email_as_invalid
System
  • get_system_status

create_collection

Create a new collection for the user.

$name The name of the collection.
$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.

Return values

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

This site uses cookies for interactivity and analytics      Accept cookies
We offset our carbon footprint via Ecologi
About
  • Features
  • Testimonials
  • Get Started For Free
Download
  • Open Source Files
  • Version History
  • Knowledge Base
Services
  • Hosting & Support
  • Testimonials
  • Case Studies
Stay in Touch
  • Q&A Session
  • Blog
  • Contact
Site Information
  • Site Map
  • Privacy Policy
  • Customer Extranet

© 2022 Montala Limited. ResourceSpace and the ResourceSpace logo are trademarks of Montala Limited.