PHP Classes

File: template/DashboardPlugin.config.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis PHP Dashboard Plugin Creator   template/DashboardPlugin.config.php   Download  
File: template/DashboardPlugin.config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis PHP Dashboard Plugin Creator
Plugin to create dashboards for the Melis platform
Author: By
Last change:
Date: 3 years ago
Size: 2,316 bytes
 

Contents

Class file image Download
<?php
return [
   
'plugins' => [
       
'meliscore' => [
           
'interface' => [
               
'melis_dashboardplugin' => [
                   
'interface' => [
                       
'melisdashboardplugin_section' => [
                           
'interface' => [
                               
'ModuleTplPluginNamePlugin' => [
                                   
'conf' => [
                                       
'type' => '/moduletpl/interface/ModuleTplPluginNamePlugin'
                                   
]
                                ]
                            ]
                        ]
                    ]
                ]
            ],
        ],
       
'moduletpl' => [
           
'ressources' => [
               
'css' => [
                    
'/ModuleTpl/dashboard-plugin/css/PluginName.css'
               
],
               
'js' => [
                   
'/ModuleTpl/dashboard-plugin/js/PluginName.js'
               
]
            ],
           
'interface' => [
               
'ModuleTplPluginNamePlugin' => [
                   
'conf' => [
                       
'name' => 'ModuleTplPluginNamePlugin',
                       
'melisKey' => 'ModuleTplPluginNamePlugin'
                   
],
                   
'datas' => [
                       
'plugin_id' => 'PluginName',
                       
'name' => 'tr_moduletpl_dashboard_pluginName_menu title',
                       
'description' => 'tr_moduletpl_dashboard_pluginName_menu description',
                       
'dashboard_title' => 'tr_moduletpl_dashboard_pluginName title',
                       
'icon' => 'fa PluginIcon',
                       
'thumbnail' => '/ModuleTpl/dashboard-plugin/images/PluginThumbnail',
                       
'jscallback' => 'PluginName_init()',
                       
'height' => 4,
                       
'width' => 6,
                       
'x-axis' => 0,
                       
'y-axis' => 0,
                       
'section' => 'Custom',
                    ],
                   
'forward' => [
                       
'module' => 'ModuleTpl',
                       
'plugin' => 'ModuleTplPluginNamePlugin',
                       
'function' => 'pluginName',
                    ]
                ]
            ]
        ]
    ]
];