| File: |
src/PanelWidget.php |
| Role: |
Class source |
| Content type: |
text/plain |
| Description: |
Class source |
| Class: |
YII2 PHP Dashboard Panel
Controller and a widget to display dashboard panel |
| Author: |
By Uldis Nelsons |
| Last change: |
Refactor panel logic and simplify widget data handling.
Updated `PanelLogic` to improve type declarations, introduce a flag for conditional panel loading, and handle exceptions more explicitly. Simplified `PanelWidget` by removing unused `returnArray` functionality to streamline the data rendering process.
Enhance PanelWidget functionality and integrate DataPanelController
Added `returnArray` support in PanelWidget for flexible data handling and updated type definitions. Introduced DataPanelController with access control for managing and retrieving store lists. Integrated PanelWidget into invoice view form for dynamic data loading.
Added panel logic
Signed-off-by: uldisn <uldisnelsons@gmail.com>
For panel added enclosing tag
Signed-off-by: uldisn <uldisnelsons@gmail.com>
fixed bug
In controller can define panels
Signed-off-by: uldisn <uldisnelsons@gmail.com>
To panel widget can directly add routes
Fixed bug, when on exception in action not roled back to actual controller
Signed-off-by: uldisn <uldisnelsons@gmail.com>
Merge branch 'master' of https://github.com/unyii2/yii2-panel
|
| Date: |
8 months ago |
| Size: |
1,261 bytes |
|
|
|