Skip to content

Commit

Permalink
Update example.php
Browse files Browse the repository at this point in the history
  • Loading branch information
goerdy authored Sep 17, 2023
1 parent 997558d commit b102511
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions example.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
$DaysColorArray;
$DaysHollidaysArray;

$DaysTextArray[2][18]="Philipps Birthday";
$DaysColorArray[2][18]="green";
$DaysTextArray[2][18]="goerdy";
$DaysColorArray[2][18]="#FF0000";
$DaysColorArray[4][22]="#00FF00";
$DaysColorArray[12][3]="#0000FF";
$DaysHollydaysArray[3][17]="true";

//function mkCal($title, $Year, $locale, $daysText, $daysColor, $daysHollidays, $highlightHollidays, $highlightSunday, $ighlightSaturday, $footer, $format)
//function mkCal($title, $Year, $locale, $daysText, $daysColor, $daysHollidays, $highlightHollidays, $highlightSunday, $ighlightSaturday, $footer, $format, $colorSceme)
$pdf = new PDF('L','mm','A4');
$pdf->mkCal("Test Calendar", 2023 ,"de_DE", $DaysTextArray, $DaysColorArray, $DaysHollydaysArray, "magenta" ,"red", "firebrick1", "some idiotic footer text", "A4Landscape");
$pdf->mkCal("Example Calendar", 2024 ,"en_US", $DaysTextArray, $DaysColorArray, $DaysHollydaysArray, "#AAAA00" ,"#FF0000", "#990000", "some customizeable footer text", "A4Landscape", "#0000FF");

?>

0 comments on commit b102511

Please sign in to comment.