I changed the configuration of main.php in this:
$ret = array();
$ret['params'] =array();
//service types constants
$ret['params']['service_types']=array(
'st_defect'=>1,
'st_retour'=>2,
'st_order'=>3,
);
//open times of department 0=monday
$ret['params']['st_open']=array(
$ret['params']['service_types']['st_retour']=array(
0=>array(800,1700),
1=>array(800,1700),
2=>array(800,1700),
3=>array(800,1700),
4=>array(800,1700),
);
);
return $ret;
That way i can use the previous declared array inside the next and i keep settings together for a readable format. So settings for one page are clustered.
Thanx for your feedback!