dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
shop-shipping-group.fd.php
Go to the documentation of this file.
1<?php
2$addField=function($name,$type,$label,$rules,$tpl,$extra=array()) use (&$fields){
3 $field=array('name'=>$name,'type'=>$type,'index'=>'','length'=>$extra['length'] ?? '','default'=>$extra['default'] ?? '','label'=>$label,'rules'=>$rules,'tooltip'=>'','errormsg'=>'','placeholder'=>'','convert'=>'','protect'=>'0','mask'=>'','data'=>$extra['data'] ?? '','options'=>$extra['options'] ?? '','tpl'=>$tpl);
5};
6$addField('group_key','varchar','Key','parameter|min=2|max=80','text-label');
7$addField('title','varchar','Titel','*|min=2|max=180','text-label');
8$addField('description','mediumtext','Beschreibung','*|max=2000','textarea-label',array('data'=>'rows=3'));
9$addField('shipping_way','varchar','Versandweg','*|max=180','text-label');
10$addField('shipping_gross','decimal','Versand brutto','number','text-label');
11$addField('free_from_gross','decimal','Versandfrei ab','number','text-label');
12$addField('active','int','Aktiv','int','checkbox-label',array('default'=>'1'));
13$addField('sorter','int','Sortierung','int','text-label');
14?>
$fields[]
Definition config.dd.php:16
$field
Definition config.dd.php:4