Back to AdminModel class

Method cleanupPostBatchCopy

protected void
cleanupPostBatchCopy
(\Joomla\CMS\Table\TableInterface $table, mixed $newId, mixed $oldId)
Function that can be overridden to do any data cleanup after batch copying data
Parameters
  • \Joomla\CMS\Table\TableInterface $table The table object containing the newly created item
  • int $newId The id of the new item
  • int $oldId The original item id
Returns
  • void
Since
  • 3.8.12
Class: AdminModel
Project: Joomla

Method cleanupPostBatchCopy - Source code

/**
 * Function that can be overridden to do any data cleanup after batch copying data
 *
 * @param   TableInterface  $table  The table object containing the newly created item
 * @param   integer         $newId  The id of the new item
 * @param   integer         $oldId  The original item id
 *
 * @return  void
 *
 * @since  3.8.12
 */
protected function cleanupPostBatchCopy(TableInterface $table, $newId, $oldId)
{
}