Swat/SwatDateEntry.php
protected function createCalendar()
    {
        $calendar = new SwatCalendar($this->id . '_calendar');
        $calendar->classes = array('swat-date-entry-calendar');
        $calendar->valid_range_start = $this->valid_range_start;
        $calendar->valid_range_end = $this->valid_range_end;
        return $calendar;
    }
protected function createCalendar()
    {
        $calendar = new SwatCalendar($this->id . '_calendar');
        $calendar->classes = array('swat-date-entry-calendar');
        $calendar->valid_range_start = $this->valid_range_start;
        $calendar->valid_range_end = $this->valid_range_end;
        return $calendar;
    }
protected function createCalendar ( ) { $ calendar = new SwatCalendar ( $ this -> id . '_calendar' ) ; $ calendar -> classes = array ( 'swat-date-entry-calendar' ) ; $ calendar -> valid_range_start = $ this -> valid_range_start ; $ calendar -> valid_range_end = $ this -> valid_range_end ; return $ calendar ; }
Creates the calendar widget for this date entry

@return SwatCalendar the calendar widget for this date entry.
Creates the calendar widget for this date entry