XML data from dashboard

This commit is contained in:
Eric Espie
2026-02-03 11:02:39 +01:00
parent b2041e3b63
commit 0b17e1f9b3
3 changed files with 60 additions and 17 deletions

View File

@@ -213,6 +213,19 @@ abstract class Dashlet
$this->OnUpdate();
}
/**
* Load a dashboard using Model Data
*
* @param array $aModelData
*
* @return void
* @since 3.3.0
*/
public function ToModelData(): array
{
return $this->aProperties;
}
/**
* @return array Rel. path to the app. root of the JS files required by the dashlet
* @since 3.0.0