- Resource functions
-
- get_resource_field_data
- create_resource
- update_field
- 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
- replace_resource_file
- get_resource_all_image_sizes
- put_resource_data
- update_related_resource
- resource_log_last_rows
- Collection functions
- Search functions
- IIIF
- Metadata functions
add_resource_to_collection
Add a resource to a collection.
$resource * | The ID of the resource. |
---|---|
$collection * | The ID of the collection to add the resource to. |
Return values
True or false depending on operation success.