update_item — Update an existing item.

Item-related functions

Summary

update_item($item, $metadata = array(), $elementTexts = array(), $fileMetadata = array())

Update an existing item.

Parameters:
  • $item (Item|int) – Either an Item object or the ID for the item.
  • $metadata (array) – Set of options that can be passed to the item.
  • $elementTexts (array) – Element texts to assign. See insert_item() for details.
  • $fileMetadata (array) – File ingest data. See insert_item() for details.
Returns:

Item

Usage

Examples

See Also