You are viewing an older version of the Metrix documentation (1.x). View the latest version (2.x) →
Developers

Preset

Attributes

AttributeDescription
idThe unique identifier for the preset.
nameThe name of the preset.
handleThe handle of the preset.
enabledIndicates if the preset is enabled.
widgetsA collection of widgets associated with the preset.
dateCreatedThe timestamp when the preset was created.
dateUpdatedThe timestamp when the preset was last updated.
uidThe unique identifier string for the preset.

Methods

MethodDescription
getWidgets()Retrieves all widgets associated with the preset.
setWidgets($widgets)Assigns a collection of widgets to the preset.
Last updated: May 4, 2026, 8:57:35 AM