
Graham Finlay - 2006-10-10 11:06:42
I have tried to alter the class to be able to customise the start and end times for the day as shown below. It works in the class, however, I don't seem to be able to alterthe times on the example page. Can anyone help me?
class.-----.php
var $calSDay = '0';
var $calEDay = '24';
*
*/
function pCal_Day($curDat,$display = array())/*start and end of day*/ {
$this->calendarStart = $display[0] = $this->calSDay;
$this->calendarEnd = $display[1] = $this->calEDay - 0.25;
example1.php
$cal = new pCal_Day(date('Y-m-d'));
$cal->calSDay = '8';
$cal->calEDay = '18';