Function __global->delete_aggregate_type_instance

Definitions

sources/aggregate_types.php

  • Delete an aggregate type instance.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id AUTO_LINK No No required parameter N/A N/A The ID
$delete_matches boolean No No False N/A N/A Whether to delete all associated resources

Preview

Code (PHP)

/**
 * Delete an aggregate type instance.
 *
 * @param  AUTO_LINK $id The ID
 * @param  boolean $delete_matches Whether to delete all associated resources
 */

function delete_aggregate_type_instance(int $id, bool $delete_matches = false)