dbxapp
4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
dbxapp.de
Portal
Start
Anwender
Entwickler
KI-Bereiche
Loading...
Searching...
No Matches
shop-attribute-definition_es.fd.php
Go to the documentation of this file.
1
<?php
2
$messages
= array();
3
$messages
[
'save_success'
] =
'Los datos se guardaron'
;
4
$messages
[
'save_succeass'
] =
$messages
[
'save_success'
];
5
$messages
[
'save_error'
] =
'Los datos no se pudieron guardar'
;
6
7
$addField
=
function
($name,$type,$label,
$rules
,
$tpl
,$extra=array()) use (&
$fields
){
8
$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
);
9
$fields
[]=
$field
;
10
};
11
$addField
(
'group_id'
,
'int'
,
'Grupo de artículos'
,
'int'
,
'text-label'
);
12
$addField
(
'attr_key'
,
'varchar'
,
'Clave del atributo'
,
'*|max=80'
,
'text-label'
);
13
$addField
(
'title'
,
'varchar'
,
'Título'
,
'*|max=160'
,
'text-label'
);
14
$addField
(
'input_type'
,
'varchar'
,
'Tipo'
,
'*|max=30'
,
'text-label'
,array(
'default'
=>
'text'
));
15
$addField
(
'unit'
,
'varchar'
,
'Unidad'
,
'max=40'
,
'text-label'
);
16
$addField
(
'options'
,
'text'
,
'Opciones'
,
'max=4000'
,
'textarea-label'
);
17
$addField
(
'required'
,
'int'
,
'Obligatorio'
,
'int'
,
'checkbox-label'
);
18
$addField
(
'filterable'
,
'int'
,
'Filtrable'
,
'int'
,
'checkbox-label'
,array(
'default'
=>
'1'
));
19
$addField
(
'comparable'
,
'int'
,
'Comparable'
,
'int'
,
'checkbox-label'
);
20
$addField
(
'active'
,
'int'
,
'Activo'
,
'int'
,
'checkbox-label'
,array(
'default'
=>
'1'
));
21
$addField
(
'sorter'
,
'int'
,
'Orden'
,
'int'
,
'text-label'
,array(
'default'
=>
'100'
));
22
?>
$messages
$messages
Definition
config.fd.php:2
$field
$field
Definition
dbx/cfg/config.dd.php:4
$fields
$fields
Definition
dbxForm_fd_language_messages_test.php:204
$tpl
if($web->content_permalink_redirect_target() !=='') $tpl
Definition
dbxSeoCanonicalPolicy_test.php:73
$rules
$rules
Definition
dbxValidator_rules_audit_test.php:15
$addField
$addField
Definition
shop-attribute-definition_es.fd.php:7
$addField
$addField
Definition
shopAttributeDefinition.dd.php:18
dbx
modules
dbxShop
fd
shop-attribute-definition_es.fd.php
Generated by
1.17.0