WireData class
WireData is the base data-storage class used by many ProcessWire object types and most modules.
Wire Properties set to a Wire Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Take the current item and append the given item(s), returning a new WireArray Get or set a low-level data value Retrieve the value for a previously set property, or retrieve an API variable Returns the full array of properties set to this object Get a property via dot syntax: field.subfield.subfield Enables the object data properties to be iterable as an array Does this object have the given property? Get or set a low-level data value Remove a previously set property Set a value to this object’s data Set an array of key=value pairs Same as set() but without change tracking In addition to the methods and properties above, WireWire class with the fundamental difference being that it is designed
for runtime data storage. It provides this primarily through the built-in get() and set() methods for
getting and setting named properties to WirePage, the type used for all pages in ProcessWire. $item->property or using array access like $item[$property]. If you foreach() a WireWire class also inherits all the methods and properties of: Wire.Retrieval
Name Return Summary WireArrayarray Wire null mixed null array null mixed ArrayObject bool Manipulation
Name Return Summary array Wire null $this $this $this $this Additional methods and properties
API reference based on ProcessWire core version 3.0.252