Skip to content
Extraits de code Groupes Projets
Valider 3d8a76a0 rédigé par RealET's avatar RealET :kissing_cat:
Parcourir les fichiers

Avec la ligne de titre en gras

parent 94fd0434
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -26,7 +26,11 @@ function trad_export_csv($trads) { ...@@ -26,7 +26,11 @@ function trad_export_csv($trads) {
$writer->openToBrowser('traduction.xlsx'); // stream data directly to the browser $writer->openToBrowser('traduction.xlsx'); // stream data directly to the browser
$writer->addRow(WriterEntityFactory::createRowFromArray($entetes)); // add a row at a time $rowStyleBold = (new StyleBuilder())
->setFontBold()
->build();
$writer->addRow(WriterEntityFactory::createRowFromArray($entetes, $rowStyleBold)); // add a row at a time
foreach ($trads as $trad) { foreach ($trads as $trad) {
$writer->addRow(WriterEntityFactory::createRowFromArray($trad)); // add a row at a time $writer->addRow(WriterEntityFactory::createRowFromArray($trad)); // add a row at a time
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter