PHP Classes

File: template/Config/app.tools.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Config/app.tools.php   Download  
File: template/Config/app.tools.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 2,352 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' => [
       
'moduletpl' => [
           
'tools' => [
               
'moduletpl_tools' => [
                   
'conf' => [
                       
'title' => 'tr_moduletpl_templates',
                       
'id' => 'id_moduletpl_templates',
                    ],
                   
'table' => [
                       
// table ID
                       
'target' => '#tableToolModuleTpl',
                       
'ajaxUrl' => '/melis/ModuleTpl/List/getList',
                       
'dataFunction' => '',
                       
'ajaxCallback' => '',
                       
'filters' => [
                           
'left' => [
                               
'moduletpl-tbl-filter-limit' => [
                                   
'module' => 'ModuleTpl',
                                   
'controller' => 'List',
                                   
'action' => 'render-table-filter-limit',
                                ],
                            ],
                           
'center' => [
                               
'moduletpl-tbl-filter-search' => [
                                   
'module' => 'ModuleTpl',
                                   
'controller' => 'List',
                                   
'action' => 'render-table-filter-search',
                                ],
                            ],
                           
'right' => [
                               
'moduletpl-tbl-filter-refresh' => [
                                   
'module' => 'ModuleTpl',
                                   
'controller' => 'List',
                                   
'action' => 'render-table-filter-refresh',
                                ],
                            ],
                        ],
                       
'columns' => [
#TCTABLECOLUMNS
                       
],
                       
// define what columns can be used in searching
                       
'searchables' => [
#TCTABLESEARCHCOLUMNS
                       
],
                       
'actionButtons' => [
#TCTABLEACTIONBUTTONS
                       
]
                    ],
#TCFORMELEMENTS
               
]
            ]
        ]
    ]
];