| 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 <[email protected]> 
For panel added enclosing tag 
 
Signed-off-by: uldisn <[email protected]> 
fixed bug 
In controller can define panels 
 
Signed-off-by: uldisn <[email protected]> 
To panel widget can directly add routes 
Fixed bug, when on exception in action not roled back to actual controller 
 
Signed-off-by: uldisn <[email protected]> 
Merge branch 'master' of https://github.com/unyii2/yii2-panel 
 | 
 
| Date: | 
7 days ago | 
 
| Size: | 
1,261 bytes | 
 
 | 
 
 
 | 
 |