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