Wire is the base class for most ProcessWire classes and modules.
Wire derived classes have a
$this->wire() method that provides access to ProcessWire’s API variables.
API variables can also be accessed as local properties in most cases. Wire also provides basic methods
for tracking changes and managing runtime notices specific to the instance.
Wire derived classes can specify which methods are “hookable” by precending the method name with
3 underscores like this:
___myMethod(). Other classes can then hook either before or after that method,
modifying arguments or return values. Several other hook methods are also provided for Wire derived
classes that are hooking into others.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon.
API reference based on ProcessWire core version 3.0.172