public function getAvailableTimesets()
    {
        // build array with localized names
        if (!isset(self::$timesetNames)) {
            self::$timesetNames = [
                $this->translator->_('standard_time'),
                $this->translator->_('swatch_time'),
                $this->translator->_('iso_time'),
            ];
        }

        // return the names of the timesets
        return self::$timesetNames;
    }
public function getAvailableTimesets()
    {
        // build array with localized names
        if (!isset(self::$timesetNames)) {
            self::$timesetNames = [
                $this->translator->_('standard_time'),
                $this->translator->_('swatch_time'),
                $this->translator->_('iso_time'),
            ];
        }

        // return the names of the timesets
        return self::$timesetNames;
    }
public function getAvailableTimesets ( ) { // build array with localized names if ( ! isset ( self :: $ timesetNames ) ) { self :: $ timesetNames = [ $ this -> translator -> _ ( 'standard_time' ) , $ this -> translator -> _ ( 'swatch_time' ) , $ this -> translator -> _ ( 'iso_time' ) , ] ; } // return the names of the timesets return self :: $ timesetNames ; }
This method is intend to return a list of available timesets.

@author Benjamin Carl <opensource@clickalicious.de>

@return array List/collection of available timesets
This method is intend to return a list of available timesets .