Swat/SwatTimeEntry.php
protected function createCompositeWidgets()
    {
        if ($this->display_parts & self::HOUR) {
            $this->addCompositeWidget(
                $this->createHourFlydown(),
                'hour_flydown'
            );

            if ($this->twelve_hour) {
                $this->addCompositeWidget(
                    $this->createAmPmFlydown(),
                    'am_pm_flydown'
                );
            }
        }

        if ($this->display_parts & self::MINUTE) {
            $this->addCompositeWidget(
                $this->createMinuteFlydown(),
                'minute_flydown'
            );
        }

        if ($this->display_parts & self::SECOND) {
            $this->addCompositeWidget(
                $this->createSecondFlydown(),
                'second_flydown'
            );
        }
    }
protected function createCompositeWidgets()
    {
        if ($this->display_parts & self::HOUR) {
            $this->addCompositeWidget(
                $this->createHourFlydown(),
                'hour_flydown'
            );

            if ($this->twelve_hour) {
                $this->addCompositeWidget(
                    $this->createAmPmFlydown(),
                    'am_pm_flydown'
                );
            }
        }

        if ($this->display_parts & self::MINUTE) {
            $this->addCompositeWidget(
                $this->createMinuteFlydown(),
                'minute_flydown'
            );
        }

        if ($this->display_parts & self::SECOND) {
            $this->addCompositeWidget(
                $this->createSecondFlydown(),
                'second_flydown'
            );
        }
    }
protected function createCompositeWidgets ( ) { if ( $ this -> display_parts & self :: HOUR ) { $ this -> addCompositeWidget ( $ this -> createHourFlydown ( ) , 'hour_flydown' ) ; if ( $ this -> twelve_hour ) { $ this -> addCompositeWidget ( $ this -> createAmPmFlydown ( ) , 'am_pm_flydown' ) ; } } if ( $ this -> display_parts & self :: MINUTE ) { $ this -> addCompositeWidget ( $ this -> createMinuteFlydown ( ) , 'minute_flydown' ) ; } if ( $ this -> display_parts & self :: SECOND ) { $ this -> addCompositeWidget ( $ this -> createSecondFlydown ( ) , 'second_flydown' ) ; } }
Creates the composite widgets used by this time entry

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