modification de la structure de donnée !

This commit is contained in:
Damien LASSERRE 2012-01-19 16:07:02 +00:00
parent 69d0520e62
commit c91a605aff

View File

@ -269,7 +269,7 @@ Class Fields
'class' => null
),
'nbEtab' => array(
'label' => 'Tranche d\'effectif de l\'etablissement',
'label' => 'Nombre d\'établassiment',
'fields' => array(
'interval' => array('value' => array('0', '10000000'))
),
@ -611,7 +611,7 @@ Class Fields
{
$values[$key] = explode(',', $item);
} else if (!empty($this->fields[$key]['action'])) {
$values[$key] = $this->getArbo($key, $item);
$values[$key] = $this->selectArbo($key, $item);
} else {
$values[$key] = $item;
}
@ -619,7 +619,7 @@ Class Fields
return ($values);
}
public function getArbo($name, $valeur)
public function selectArbo($name, $valeur)
{
$values = array();
switch($name)