PHP Classes

File: config/frameworks.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   config/frameworks.php   Download  
File: config/frameworks.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,856 bytes
 

Contents

Class file image Download
<?php

return [
   
'frameworks' => [
       
'laravel',
       
'symfony',
       
'lumen',
       
'silex',
    ],
   
'framework-setup' => [
       
'laravel' => 'url/route',
       
'symfony',
       
'lumen',
       
'silex',
    ],
   
'form-elements' => [
       
'elements' => [
            [
               
'spec' => [
                   
'type' => 'Checkbox',
                   
'name' => 'tcf-create-framework-tool',
                   
'options' => [
                       
'label' => 'tr_melistoolcreator_tcf-create-framework-tool',
                       
'tooltip' => 'tr_melistoolcreator_tcf-create-framework-tool tooltip',
                       
'switch_options' => [
                           
'label-on' => 'tr_melistoolcreator_yes',
                           
'label-off' => 'tr_melistoolcreator_no',
                           
'icon' => "glyphicon glyphicon-resize-horizontal",
                        ],
                    ],
                   
'attributes' => [
                       
'id' => 'tcf-create-framework-tool',
                       
'class' => 'tcf-tool-type tcf-tool-type-db tcf-tool-type-blank',
                    ],
                ],
            ],
            [
               
'spec' => [
                   
'type' => 'Radio',
                   
'name' => 'tcf-tool-framework',
                   
'options' => [
                       
'label' => 'tr_melistoolcreator_tcf-tool-framework',
                       
'tooltip' => 'tr_melistoolcreator_tcf-tool-framework tooltip',
                       
'radio-button' => true,
                       
'label_options' => [
                           
'disable_html_escape' => true,
                        ],
                       
'label_attributes' => [
                           
'class' => 'melis-radio-box'
                       
],
                       
'value_options' => [],
                    ],
                   
'attributes' => [
                       
'required' => 'required',
                       
'class' => 'tcf-tool-type tcf-tool-type-db tcf-tool-type-blank'
                   
],
                ]
            ],
        ],
       
'input_filter' => [
           
'tcf-create-framework-tool' => [
               
'name' => 'tcf-create-framework-tool',
               
'required' => true,
               
'validators' => [],
               
'filters' => [
                    [
'name' => 'StripTags'],
                    [
'name' => 'StringTrim'],
                ],
            ],
           
'tcf-tool-framework' => [
               
'name' => 'tcf-tool-framework',
               
'required' => false,
               
'validators' => [],
               
'filters' => [
                    [
'name' => 'StripTags'],
                    [
'name' => 'StringTrim'],
                ],
            ],
        ]
    ]
];