function DatebookTest() { $d = new PalmDatebook(); /* Create a repeating event that happens every other Friday. * I want it to be an all-day event that says "Pay Day!" */ $Repeat = array('Type' => PDB_DATEBOOK_REPEAT_WEEKLY, 'Frequency' => 2, 'Days' => '5', 'StartOfWeek' => 0); $Record = array('Date' => '2001-11-2', 'Description' => 'Pay Day!', 'Repeat' => $Repeat); // Add the record to the datebook $d->SetRecordRaw($Record); return GenerateMd5($d); }
function DatebookTest() { $d = new PalmDatebook(); // Create a repeating event that happens every other Friday. // I want it to be an all-day event that says "Pay Day!" $Repeat = array("Type" => PDB_DATEBOOK_REPEAT_WEEKLY, "Frequency" => 2, "Days" => "5", "StartOfWeek" => 0); $Record = array("Date" => "2001-11-2", "Description" => "Pay Day!", "Repeat" => $Repeat); // Add the record to the datebook $d->SetRecordRaw($Record); return GenerateMd5($d); }