The example code for the _delete_ method on the opensource.brightcove.com website is incorrect. It reads: > // Delete a 'video' by ID, and cascade the deletion > $bc->delete('video', 123456789, NULL, TRUE); but that example does not work. It should read: > // Delete a 'video' by ID, and cascade the deletion > $bc->delete('video', 123456789, NULL, array('cascade'=>TRUE)); Indicating that the _options_ parameter is expecting an associative array.
The example code for the delete method on the opensource.brightcove.com website is incorrect.
It reads:
but that example does not work. It should read:
Indicating that the options parameter is expecting an associative array.