weekspecials.php
// Sets a default configuration, which is used at install and in the back office
Sets a default configuration, which is used at install and in the back office
Sets a default configuration which is used at install and in the back office
public function defaultConfiguration(){
        $allergens=serialize(array('Gluten', 'Crustacés', 'Oeufs','Poisson','Arachides','Soja','Lait','Fruits à coque','Céleri','Moutarde','Sésame','Sulfites','Lupin','Mollusques'));
        Configuration::updateValue('WEEKS_DISHES','3');
        Configuration::updateValue('WEEKS_ALLERG',$allergens);
    }
public function defaultConfiguration ( ) { $ allergens = serialize ( array ( 'Gluten' , 'Crustacés', Oeufs', ' Poisson', ' Arachides', ' Soja', ' Lait', ' Fruits à coque',' C éleri','M o utarde','S é same','Su l fites','Lu p in','Mo l lusques'));
 Configuration :: updateValue ( 'WEEKS_DISHES' , '3' ) ; Configuration :: updateValue ( 'WEEKS_ALLERG' , $ allergens ) ; }
Sets a default configuration, which is used at install and in the back office
Sets a default configuration which is used at install and in the back office
// Configuration::updateValue('WEEKS_TEMPLATE','0');