'periodes'=> array(
'type'=>'atlas_chantier_periodes',
'label'=>'atlas_chantier.periodes',
'input'=>'multicheck',
'showtest'=>array('is_defined'=>array('id')),
'valeurs'=>"SELECT a_periode_id, id FROM atlas_chantier_periodes WHERE atlas_chantier_id='33485' ORDER BY id",
'liste'=>"SELECT id, nom FROM a_periode ORDER BY zorder",
'liste_table'=> 'a_periode',
'liste_key'=> 'a_periode_id',
'check_table'=> 'atlas_chantier_periodes',
'check_id'=> 'id',
'liste_id'=> 'id',
'liste_nom'=> 'nom',
'foreign_key'=>array(
'atlas_chantier_id'=>'php:id',
),
'write'=>'all',
'show'=>'all',
),