SilverCommerce\Stock\Dashboard\LowStockPanel
Add low stock dashboard panel, if dashboard module is installed
Synopsis
class LowStockPanel
extends DashboardPanel
{
- // members
- private static string $table_name = 'DashboardLowStockPanel';
- private static array $db = ;
- private static array $defaults = ;
- private static string $icon = "silvercommerce/dashboard: client/dist/images/warning.png";
- // methods
- public void getLabel()
- public void getDescription()
- public void PanelHolder()
- public string CatalogueLink()
- public void getConfiguration()
- public ArrayList getSecondaryActions()
- public DataList Products()
Hierarchy
Extends
- UncleCheese\Dashboard\DashboardPanel
Members
private
- $db
- $defaults
- $icon
- $table_name
Methods
public
- CatalogueLink() — Get a link to the catalogue admin
- PanelHolder()
- Products() — Get a list of products to render in the template
- getConfiguration()
- getDescription()
- getLabel()
- getSecondaryActions() — Add view all button to actions