dbXapp
2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Toggle main menu visibility
Loading...
Searching...
No Matches
shop-channel-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);
4
$fields
[]=
$field
;
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
(
'active'
,
'int'
,
'Aktiv'
,
'int'
,
'checkbox-label'
,array(
'default'
=>
'1'
));
10
$addField
(
'sorter'
,
'int'
,
'Sortierung'
,
'int'
,
'text-label'
);
11
?>
$fields
$fields[]
Definition
config.dd.php:16
$field
$field
Definition
config.dd.php:4
$addField
$addField
Definition
shop-channel-group.fd.php:2
$addField
$addField
Definition
shopAttributeDefinition.dd.php:18
dbx
modules
dbxShop
fd
shop-channel-group.fd.php
Generated by
1.17.0