mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-13 09:36:20 +02:00
Monstra Dashboard #204
This commit is contained in:
@ -78,8 +78,29 @@ class DashboardAdmin extends Backend
|
|||||||
|
|
||||||
class Dashboard
|
class Dashboard
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Items
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public static $items = array();
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
public static function addNewItem()
|
public static function addNewItem()
|
||||||
{
|
{
|
||||||
|
Dashboard::$items[] = array(
|
||||||
|
'name' => (string) $name,
|
||||||
|
'url' => (string) $url,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function drawItems()
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user