41 lines
905 B
PHP
41 lines
905 B
PHP
<?php
|
|
if (!defined('_ECRIRE_INC_VERSION')) {
|
|
return;
|
|
}
|
|
|
|
function gamuform_exemple_dist(){
|
|
|
|
return [
|
|
[
|
|
'saisie' => 'input',
|
|
'options' => array(
|
|
'nom' => 'type_intervention',
|
|
'libelle' => 'Type',
|
|
'label' => "Type d'intervention",
|
|
'obligatoire' => 'oui',
|
|
//'fonction' => 'ma_super_fonction'
|
|
//'modifier' => 'ma_super_fonction_pour_modifier'
|
|
)
|
|
],
|
|
[
|
|
'saisie' => 'input',
|
|
'options' => array(
|
|
'nom' => 'desc_type_intervention',
|
|
'libelle' => 'Description',
|
|
'label' => 'Description',
|
|
'obligatoire' => 'oui',
|
|
//'fonction' => 'ma_super_fonction'
|
|
)
|
|
],
|
|
[
|
|
'saisie' => 'radio',
|
|
'options' => array(
|
|
'nom' => 'controle_ok',
|
|
'libelle' => 'Contrôle OK',
|
|
'label' => 'Contrôle OK',
|
|
'data' => ['oui' => 'Oui', '' => 'Non']
|
|
//'fonction' => 'ma_super_fonction'
|
|
)
|
|
],
|
|
];
|
|
}
|