Utilisation de la classe session

This commit is contained in:
Damien LASSERRE 2012-01-19 09:15:23 +00:00
parent 20b2acf8ab
commit d7ebbaf04b

View File

@ -599,10 +599,11 @@ Class Fields
public function getValues()
{
$session = new Zend_Session_Namespace('ciblage');
require_once 'Scores/SessionCiblage.php';
$session = new SessionCiblage();
$values = array();
foreach($session->ciblage as $key => $item)
foreach($session->getCriteres() as $key => $item)
{
if($this->fields[$key]['type'] == 'interval' or
$this->fields[$key]['type'] == 'textarea' and