Swat/SwatTimeZoneEntry.php
private function getRegionTitle($region)
    {
        $region = str_replace('_', ' ', $region);

        $region = explode('/', $region);
        $title = array_shift($region);
        foreach ($region as $part) {
            $title .= ' (' . $part . ')';
        }

        return $title;
    }
private function getRegionTitle($region)
    {
        $region = str_replace('_', ' ', $region);

        $region = explode('/', $region);
        $title = array_shift($region);
        foreach ($region as $part) {
            $title .= ' (' . $part . ')';
        }

        return $title;
    }
private function getRegionTitle ( $ region ) { $ region = str_replace ( '_' , ' ' , $ region ) ; $ region = explode ( '/' , $ region ) ; $ title = array_shift ( $ region ) ; foreach ( $ region as $ part ) { $ title .= ' (' . $ part . ')' ; } return $ title ; }
Gets a formatted region title from the region part of a time zone
identifier

@param string $region the region part of the time zone identifier.

@return string the formatted region title.
Gets a formatted region title from the region part of a time zone identifier