WireDataDB::set()

Set and save a value for a specific property/name/key

Usage

$self = $wireDataDB->set(string $key, mixed $value);

Arguments

NameType(s)Description
$keystring
$valuemixed

Return value

self

Exceptions

Method can throw exceptions on error:

  • WireException


WireDataDB methods and properties

API reference based on ProcessWire core version 3.0.251