The current month is ' .$Calendar->thisMonth().' of year '.$Calendar->thisYear().'
'); $Uri = & new Calendar_Util_Uri('jahr','monat'); $Uri->setFragments('jahr','monat'); echo "\"Vector\" URIs"; echo ( "Previous Uri:\t".htmlentities($Uri->prev($Calendar, 'month'))."\n" ); echo ( "This Uri:\t".htmlentities($Uri->this($Calendar, 'month'))."\n" ); echo ( "Next Uri:\t".htmlentities($Uri->next($Calendar, 'month'))."\n" ); echo ""; // Switch to scalar URIs $Uri->separator = '/'; // Default is & $Uri->scalar = true; // Omit variable names echo "\"Scalar\" URIs
"; echo ( "Previous Uri:\t".$Uri->prev($Calendar, 'month')."\n" ); echo ( "This Uri:\t".$Uri->this($Calendar, 'month')."\n" ); echo ( "Next Uri:\t".$Uri->next($Calendar, 'month')."\n" ); echo ""; // Restore the vector URIs $Uri->separator = '&'; $Uri->scalar = false; ?>