WireDataDB::copyTo()

Copy all data to a new source ID

Useful to call on the source object after a clone has been created from it.

Usage

$int = $wireDataDB->copyTo(int $newSourceID);

Arguments

NameType(s)Description
$newSourceIDint

Return value

int

Number of rows copied

Exceptions

Method can throw exceptions on error:

  • WireException


WireDataDB methods and properties

API reference based on ProcessWire core version 3.0.251