Ajout des valeurs en dehors de la session
This commit is contained in:
parent
537340d274
commit
c1c655d84b
@ -612,13 +612,16 @@ Class Fields
|
||||
);
|
||||
protected $requeteSql = array('cj');
|
||||
|
||||
public function getValues()
|
||||
public function getValues($val = null)
|
||||
{
|
||||
require_once 'Scores/SessionCiblage.php';
|
||||
$session = new SessionCiblage();
|
||||
$values = array();
|
||||
if ( $val === null ) {
|
||||
require_once 'Scores/SessionCiblage.php';
|
||||
$session = new SessionCiblage();
|
||||
$criteres = $session->getCriteres();
|
||||
}
|
||||
$values = array();
|
||||
|
||||
foreach($session->getCriteres() as $key => $item)
|
||||
foreach($val as $key => $item)
|
||||
{
|
||||
if($item != '') {
|
||||
if($this->fields[$key]['type'] == 'interval' or
|
||||
|
Loading…
Reference in New Issue
Block a user