Translation/Translator.php
public function getFormats()
    {
        $allFormats = array();

        foreach ($this->loaderIds as $id => $formats) {
            foreach ($formats as $format) {
                if ('database' !== $format) {
                    $allFormats[] = $format;
                }
            }
        }

        return $allFormats;
    }
public function getFormats()
    {
        $allFormats = array();

        foreach ($this->loaderIds as $id => $formats) {
            foreach ($formats as $format) {
                if ('database' !== $format) {
                    $allFormats[] = $format;
                }
            }
        }

        return $allFormats;
    }
public function getFormats ( ) { $ allFormats = array ( ) ; foreach ( $ this -> loaderIds as $ id => $ formats ) { foreach ( $ formats as $ format ) { if ( 'database' !== $ format ) { $ allFormats [ ] = $ format ; } } } return $ allFormats ; }
Returns all translations file formats.

@return array
Returns all translations file formats .