Swat/SwatDateEntry.php
protected function createCompositeWidgets()
    {
        if ($this->display_parts & self::YEAR) {
            $this->addCompositeWidget(
                $this->createYearFlydown(),
                'year_flydown'
            );
        }

        if ($this->display_parts & self::MONTH) {
            $this->addCompositeWidget(
                $this->createMonthFlydown(),
                'month_flydown'
            );
        }

        if ($this->display_parts & self::DAY) {
            $this->addCompositeWidget($this->createDayFlydown(), 'day_flydown');
        }

        if ($this->display_parts & self::TIME) {
            $this->addCompositeWidget($this->createTimeEntry(), 'time_entry');
        }

        if ($this->display_parts & self::CALENDAR) {
            $this->addCompositeWidget($this->createCalendar(), 'calendar');
        }
    }
protected function createCompositeWidgets()
    {
        if ($this->display_parts & self::YEAR) {
            $this->addCompositeWidget(
                $this->createYearFlydown(),
                'year_flydown'
            );
        }

        if ($this->display_parts & self::MONTH) {
            $this->addCompositeWidget(
                $this->createMonthFlydown(),
                'month_flydown'
            );
        }

        if ($this->display_parts & self::DAY) {
            $this->addCompositeWidget($this->createDayFlydown(), 'day_flydown');
        }

        if ($this->display_parts & self::TIME) {
            $this->addCompositeWidget($this->createTimeEntry(), 'time_entry');
        }

        if ($this->display_parts & self::CALENDAR) {
            $this->addCompositeWidget($this->createCalendar(), 'calendar');
        }
    }
protected function createCompositeWidgets ( ) { if ( $ this -> display_parts & self :: YEAR ) { $ this -> addCompositeWidget ( $ this -> createYearFlydown ( ) , 'year_flydown' ) ; } if ( $ this -> display_parts & self :: MONTH ) { $ this -> addCompositeWidget ( $ this -> createMonthFlydown ( ) , 'month_flydown' ) ; } if ( $ this -> display_parts & self :: DAY ) { $ this -> addCompositeWidget ( $ this -> createDayFlydown ( ) , 'day_flydown' ) ; } if ( $ this -> display_parts & self :: TIME ) { $ this -> addCompositeWidget ( $ this -> createTimeEntry ( ) , 'time_entry' ) ; } if ( $ this -> display_parts & self :: CALENDAR ) { $ this -> addCompositeWidget ( $ this -> createCalendar ( ) , 'calendar' ) ; } }
Creates the composite widgets used by this date entry

@see SwatWidget::createCompositeWidgets()
Creates the composite widgets used by this date entry