PHP Classes

File: config/mini-template/menu-manager-tool.tools.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   config/mini-template/menu-manager-tool.tools.php   Download  
File: config/mini-template/menu-manager-tool.tools.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis CMS
Content management system that provides its tools
Author: By
Last change:
Date: 1 year ago
Size: 4,401 bytes
 

Contents

Class file image Download
<?php
return [
   
'plugins' => [
       
'meliscms' => [
           
'tools' => [
               
'meliscms_mini_template_menu_manager_tool' => [
                   
'conf' => [
                       
'title' => 'Menu manager',
                       
'id' => 'menumanager',
                    ],
                   
'table' => [
                       
'target' => '#tableMiniTemplateMenuManagerPlugins',
                       
'ajaxUrl' => '/melis/MelisCms/MiniTemplateMenuManager/getMiniTemplates',
                       
'dataFunction' => 'initMiniTemplateMenuManagerPluginTables',
                       
'ajaxCallback' => '',
                       
'filters' => [
                           
'left' => [],
                           
'center' => [],
                           
'right' => [
                               
'mini-template-menu-manager-tool-table-refresh' => [
                                   
'module' => 'MelisCms',
                                   
'controller' => 'MiniTemplateMenuManager',
                                   
'action' => 'render-mini-template-menu-manager-tool-table-refresh',
                                ],
                            ]
                        ],
                       
'columns' => [
                           
'tempId' => [
                               
'text' => '<i class="fa fa-plus"> </i> ',
                               
'css' => array('width' => '1%', 'visible' => false),
                               
'sortable' => true,
                            ],
                           
'image' => [
                               
'text' => 'Image',
                               
'css' => [],
                               
'sortable' => true
                           
],
                           
'html_path' => [
                               
'text' => 'Path',
                               
'css' => [],
                               
'sortable' => true
                           
],
                        ],
                       
'searchables' => [

                        ],
                       
'actionButtons' => [
                           
'edit' => [
                               
'module' => 'MelisCms',
                               
'controller' => 'MiniTemplateMenuManager',
                               
'action' => 'render-mini-template-menu-manager-tool-table-action-edit',
                            ],
                           
'delete' => [
                               
'module' => 'MelisCms',
                               
'controller' => 'MiniTemplateMenuManager',
                               
'action' => 'render-mini-template-menu-manager-tool-table-action-delete',
                            ],
                        ],
                    ],
                   
'forms' => [
                       
'menu_manager_tool_site_add_category' => [
                           
'attributes' => [
                               
'name' => 'menu_manager_tool_site_add_category',
                               
'id' => 'id_menu_manager_tool_site_add_category',
                               
'method' => 'POST',
                               
'action' => ''
                           
],
                           
'hydrator' => 'Zend\Hydrator\ArraySerializable',
                           
'elements' => [
                                [
                                   
'spec' => [
                                       
'name' => 'category_name',
                                       
'type' => 'MelisText',
                                       
'options' => [
                                           
'label' => 'tr_meliscms_mini_template_form_category_name',
                                           
'tooltip' => 'tr_meliscms_mini_template_form_category_name_tooltip',
                                        ],
                                       
'attributes' => [
                                           
'id' => 'category_name',
                                           
'value' => '',
                                        ],
                                    ],
                                ],
                            ],
                           
'input_filter' => [

                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
];