previousInstalling (Previous) (Next) Package Overviewnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

In A Hurry

In A Hurry – Just add hot water...

In A Hurry

<?php
require_once 'Calendar/Month/Weekdays.php';

$Month = new Calendar_Month_Weekdays(date('Y'), date('n'));

$Month->build();

echo 
"<table>\n";

while (
$Day $Month->fetch()) {
    if (
$Day->isFirst()) {
        echo 
"<tr>\n";
    }

    if (
$Day->isEmpty()) {
        echo 
"<td>&nbsp;</td>\n";
    } else {
        echo 
'<td>'.$Day->thisDay()."</td>\n";
    }

    if (
$Day->isLast()) {
        echo 
"</tr>\n";
    }
}

echo 
"</table>\n";
?>

previousInstalling (Previous) (Next) Package Overviewnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.