/trunk/bibliotheque/pear/Calendar/Month/Weeks.php |
---|
94,7 → 94,7 |
function build($sDates=array()) |
{ |
require_once CALENDAR_ROOT.'Table/Helper.php'; |
$this->tableHelper = & new Calendar_Table_Helper($this, $this->firstDay); |
$this->tableHelper = new Calendar_Table_Helper($this, $this->firstDay); |
require_once CALENDAR_ROOT.'Week.php'; |
$numWeeks = $this->tableHelper->getNumWeeks(); |
for ($i=1, $d=1; $i<=$numWeeks; $i++, |