PHP Classes

File: config/app.interface.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis PHP Dashboard Plugin Creator   config/app.interface.php   Download  
File: config/app.interface.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: 2 years ago
Size: 4,836 bytes
 

Contents

Class file image Download
<?php

/**
 * Melis Technology (http://www.melistechnology.com]
 *
 * @copyright Copyright (c] 2015 Melis Technology (http://www.melistechnology.com]
 *
 */

return [
   
'plugins' => [
       
'melisdashboardplugincreator' => [
           
'conf' => [
               
'id' => '',
               
'name' => 'tr_melisdashboardplugincreator_tool_name',
               
'rightsDisplay' => 'none',
            ],
           
'ressources' => [
               
'js' => [
                   
'/MelisDashboardPluginCreator/js/dashboard-plugin-creator.js'
               
],
               
'css' => [
                   
'/MelisDashboardPluginCreator/css/style.css'
               
],
               
/**
                 * the "build" configuration compiles all assets into one file to make
                 * lesser requests
                 */
               
'build' => [
                   
// configuration to override "use_build_assets" configuration, if you want to use the normal assets for this module.
                   
'disable_bundle' => false,
                   
// lists of assets that will be loaded in the layout
                   
'css' => [
                       
'/MelisDashboardPluginCreator/build/css/bundle.css',
                    ],
                   
'js' => [
                       
'/MelisDashboardPluginCreator/build/js/bundle.js',
                    ]
                ]
            ],
           
'datas' => [
               
'steps' => [
                   
'melisdashboardplugincreator_step1' => [
                       
'name' => 'tr_melisdashboardplugincreator_plugin',
                       
'icon' => 'fa-puzzle-piece'
                   
],
                   
'melisdashboardplugincreator_step2' => [
                       
'name' => 'tr_melisdashboardplugincreator_menu_texts_display',
                       
'icon' => 'fa-language'
                   
],
                   
'melisdashboardplugincreator_step3' => [
                       
'name' => 'tr_melisdashboardplugincreator_dashboard_texts_display',
                       
'icon' => 'fa-dashboard'
                   
],
                   
'melisdashboardplugincreator_step4' => [
                       
'name' => 'tr_melisdashboardplugincreator_summary',
                       
'icon' => 'fa-list'
                   
],
                   
'melisdashboardplugincreator_step5' => [
                       
'name' => 'tr_melisdashboardplugincreator_finalization',
                       
'icon' => 'fa-cogs'
                   
],
                ],
               
'dashboardTabIcons' => [
                   
'charts' => 'fa-bar-chart-o',
                   
'calendar' => 'fa-calendar',
                   
'warning_sign' => 'fa-warning',
                   
'table' => 'fa-table',
                   
'cogwheel' => 'fa-cog',
                   
'chat' => 'fa-comment',
                   
'link' => 'fa-chain',
                   
'google_maps' => 'fa-map-marker',
                   
'bin' => 'fa-trash-o',
                   
'filter' => 'fa-filter',
                   
'search' => 'fa-search',
                   
'table' => 'fa-table',
                   
'tag' => 'fa-tag',
                   
'bookmark' => 'fa-bookmark',
                   
'group' => 'fa-group',
                   
'bell' => 'fa-bell',
                   
'clock' => 'fa-clock-o',
                   
'wrench' => 'fa-wrench',
                   
'ban' => 'fa-ban',
                   
'share' => 'fa-share',
                   
'file' => 'fa-file',
                   
'list' => 'fa-list',
                   
'heart' => 'fa-heart',
                   
'inbox' => 'fa-inbox',
                   
'envelope' => 'fa-envelope'
               
],
               
'plugin_thumbnail' => [
                   
'min_size' => 1,
                   
'max_size' => '512000'
               
],
                
//ref: https://www.php.net/manual/en/reserved.keywords.php
               
'reserved_keywords' => array('__halt_compiler', 'abstract', 'and', 'array', 'as', 'break', 'callable', 'case', 'catch', 'class', 'clone', 'const', 'continue', 'declare', 'default', 'die', 'do', 'echo', 'else', 'elseif', 'empty', 'enddeclare', 'endfor', 'endforeach', 'endif', 'endswitch', 'endwhile', 'eval', 'exit', 'extends', 'final', 'for', 'foreach', 'function', 'global', 'goto', 'if', 'implements', 'include', 'include_once', 'instanceof', 'insteadof', 'interface', 'isset', 'list', 'namespace', 'new', 'or', 'print', 'private', 'protected', 'public', 'require', 'require_once', 'return', 'static', 'switch', 'throw', 'trait', 'try', 'unset', 'use', 'var', 'while', 'xor'),
            ],
        ]
    ]
];