public function getAvailable()
    {
        $languagesArray = $this->languages; //Make local copy

        $languagesArray = array_map(function($value) {
            return preg_quote($value);
        }, $languagesArray);

        sort($languagesArray);

        return implode('|', array_reverse($languagesArray));
    }
public function getAvailable()
    {
        $languagesArray = $this->languages; //Make local copy

        $languagesArray = array_map(function($value) {
            return preg_quote($value);
        }, $languagesArray);

        sort($languagesArray);

        return implode('|', array_reverse($languagesArray));
    }
public function getAvailable ( ) { $ languagesArray = $ this -> languages ; //Make local copy $ languagesArray = array_map ( function ( $ value ) { return preg_quote ( $ value ) ; } , $ languagesArray ) ; sort ( $ languagesArray ) ; return implode ( '|' , array_reverse ( $ languagesArray ) ) ; }
Gets a pipe-separated string of available languages

@return string
Gets a pipe - separated string of available languages