Swat/SwatTimeEntry.php
private function createHourFlydown()
    {
        $flydown = new SwatFlydown($this->id . '_hour');
        $flydown->classes = array('swat-time-entry-hour');

        if ($this->twelve_hour) {
            for ($i = 1; $i <= 12; $i++) {
                $flydown->addOption($i, $i);
            }
        } else {
            for ($i = 0; $i < 24; $i++) {
                $flydown->addOption($i, $i);
            }
        }

        return $flydown;
    }
private function createHourFlydown()
    {
        $flydown = new SwatFlydown($this->id . '_hour');
        $flydown->classes = array('swat-time-entry-hour');

        if ($this->twelve_hour) {
            for ($i = 1; $i <= 12; $i++) {
                $flydown->addOption($i, $i);
            }
        } else {
            for ($i = 0; $i < 24; $i++) {
                $flydown->addOption($i, $i);
            }
        }

        return $flydown;
    }
private function createHourFlydown ( ) { $ flydown = new SwatFlydown ( $ this -> id . '_hour' ) ; $ flydown -> classes = array ( 'swat-time-entry-hour' ) ; if ( $ this -> twelve_hour ) { for ( $ i = 1 ; $ i <= 12 ; $ i ++ ) { $ flydown -> addOption ( $ i , $ i ) ; } } else { for ( $ i = 0 ; $ i < 24 ; $ i ++ ) { $ flydown -> addOption ( $ i , $ i ) ; } } return $ flydown ; }
Creates the hour flydown for this time entry

@return the hour flydown for this time entry.
Creates the hour flydown for this time entry