You are viewing an older version of the Metrix documentation (1.x).
View the latest version (2.x) →
Developers
Preset
Attributes
| Attribute | Description |
|---|---|
id | The unique identifier for the preset. |
name | The name of the preset. |
handle | The handle of the preset. |
enabled | Indicates if the preset is enabled. |
widgets | A collection of widgets associated with the preset. |
dateCreated | The timestamp when the preset was created. |
dateUpdated | The timestamp when the preset was last updated. |
uid | The unique identifier string for the preset. |
Methods
| Method | Description |
|---|---|
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