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 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 WireArray
Take the current item and append the given item(s), returning a new WireArray array
Wire
null
Get or set a low-level data value mixed
null
Retrieve the value for a previously set property, or retrieve an API variable array
Returns the full array of properties set to this object null
mixed
Get a property via dot syntax: field.subfield.subfield ArrayObject
Enables the object data properties to be iterable as an array bool
Does this object have the given property? Manipulation
Name Return Summary array
Wire
null
Get or set a low-level data value $this
Remove a previously set property $this
Set a value to this object’s data $this
Set an array of key=value pairs $this
Same as set() but without change tracking Additional methods and properties
API reference based on ProcessWire core version 3.0.236