Swat/SwatTimeZoneEntry.php
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $areas_flydown = $this->getCompositeWidget('areas_flydown');
        $regions_flydown = $this->getCompositeWidget('regions_flydown');

        $div_tag = new SwatHtmlTag('div');
        $div_tag->id = $this->id;
        $div_tag->class = $this->getCSSClassString();
        $div_tag->open();

        $areas_flydown->value = $this->getArea($this->value);
        $areas_flydown->display();

        $regions_flydown->options = $this->regions;
        $regions_flydown->value = $this->getRegion($this->value);
        $regions_flydown->display();

        $div_tag->close();
    }
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $areas_flydown = $this->getCompositeWidget('areas_flydown');
        $regions_flydown = $this->getCompositeWidget('regions_flydown');

        $div_tag = new SwatHtmlTag('div');
        $div_tag->id = $this->id;
        $div_tag->class = $this->getCSSClassString();
        $div_tag->open();

        $areas_flydown->value = $this->getArea($this->value);
        $areas_flydown->display();

        $regions_flydown->options = $this->regions;
        $regions_flydown->value = $this->getRegion($this->value);
        $regions_flydown->display();

        $div_tag->close();
    }
public function display ( ) { if ( ! $ this -> visible ) { return ; } parent :: display ( ) ; $ areas_flydown = $ this -> getCompositeWidget ( 'areas_flydown' ) ; $ regions_flydown = $ this -> getCompositeWidget ( 'regions_flydown' ) ; $ div_tag = new SwatHtmlTag ( 'div' ) ; $ div_tag -> id = $ this -> id ; $ div_tag -> class = $ this -> getCSSClassString ( ) ; $ div_tag -> open ( ) ; $ areas_flydown -> value = $ this -> getArea ( $ this -> value ) ; $ areas_flydown -> display ( ) ; $ regions_flydown -> options = $ this -> regions ; $ regions_flydown -> value = $ this -> getRegion ( $ this -> value ) ; $ regions_flydown -> display ( ) ; $ div_tag -> close ( ) ; }
Displays this time zone entry widget

Outputs a cascading list of time zones.
Displays this time zone entry widget