Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions

add_resource_to_collection

Add a resource to a collection.

Variable Description Data type
$resource * The ID of the resource. integer
$collection * The ID of the collection to add the resource to. integer

Return values

True or false depending on operation success.