mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-20 09:14:23 +00:00
adding some comments
This commit is contained in:
parent
59cd8466be
commit
176c3c0e27
@ -25,6 +25,8 @@ class WidgetBar implements WidgetProviderInterface
|
||||
{
|
||||
// Process the data for the bar widget
|
||||
// In this example, we assume the data is an array of numbers
|
||||
// Here, I think we suppose to make a query to the database to get some number
|
||||
// For now just sending a number
|
||||
$barData = $data['bar'];
|
||||
|
||||
// Return the widget data as an associative array
|
||||
|
@ -24,6 +24,8 @@ class WidgetNumber implements WidgetProviderInterface{
|
||||
{
|
||||
// Process the data for the number widget
|
||||
// We suppose that its only a single number
|
||||
// Here, I think we suppose to make a query to the database to get some number
|
||||
// For now just sending a number
|
||||
$numberData = $data['number'];
|
||||
|
||||
// Return the widget data as an associative array
|
||||
|
Loading…
x
Reference in New Issue
Block a user