WireDataDB::sourceID()

Get or set the the source ID for this instance

Usage

// basic usage
$int = $wireDataDB->sourceID();

// usage with all arguments
$int = $wireDataDB->sourceID($id = null);

Arguments

NameType(s)Description
$id (optional)int null

Return value

int

Exceptions

Method can throw exceptions on error:

  • WireException


WireDataDB methods and properties

API reference based on ProcessWire core version 3.0.251