From fe4b2a0d93db0ebd9c5f14d49b6c549aaad6d87c Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Thu, 22 Jan 2026 09:53:28 +0100 Subject: [PATCH] Comments --- sources/Application/Dashlet/Dashlet.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sources/Application/Dashlet/Dashlet.php b/sources/Application/Dashlet/Dashlet.php index 3d5d1445e..a66194fca 100644 --- a/sources/Application/Dashlet/Dashlet.php +++ b/sources/Application/Dashlet/Dashlet.php @@ -199,6 +199,14 @@ abstract class Dashlet $this->OnUpdate(); } + /** + * Load a dashboard using Model Data + * + * @param array $aModelData + * + * @return void + * @since 3.3.0 + */ public function FromModelData(array $aModelData) { $this->aProperties = $aModelData; @@ -514,9 +522,13 @@ EOF $this->sDashletType = $sDashletType; } + /** + * + * @return array|null + * @since 3.3.0 + */ public function GetModelData(): ?array { return $this->aProperties; - //return XMLNormalizer::GetInstance()->Denormalize($this->aProperties, $this->sDashletType, 'Dashlet'); } }