private function getClientBrowserAccepted()
    {
        $this->autoPopulateSuperGlobals();
        $sReturn = [
            'accept'          => $this->brServerGlobals->server->get('HTTP_ACCEPT'),
            'accept_encoding' => $this->brServerGlobals->server->get('HTTP_ACCEPT_ENCODING'),
        ];
        if (!is_null($this->brServerGlobals->server->get('HTTP_ACCEPT_LANGUAGE'))) {
            $sReturn['accept_language']     = $this->brServerGlobals->server->get('HTTP_ACCEPT_LANGUAGE');
            $prfd                           = null;
            preg_match_all('/([a-z]{2})(?:-[a-zA-Z]{2})?/', $sReturn['accept_language'], $prfd);
            $sReturn['preferred locale']    = $prfd[0];
            $sReturn['preferred languages'] = array_values(array_unique(array_values($prfd[1])));
        }
        return $sReturn;
    }
private function getClientBrowserAccepted()
    {
        $this->autoPopulateSuperGlobals();
        $sReturn = [
            'accept'          => $this->brServerGlobals->server->get('HTTP_ACCEPT'),
            'accept_encoding' => $this->brServerGlobals->server->get('HTTP_ACCEPT_ENCODING'),
        ];
        if (!is_null($this->brServerGlobals->server->get('HTTP_ACCEPT_LANGUAGE'))) {
            $sReturn['accept_language']     = $this->brServerGlobals->server->get('HTTP_ACCEPT_LANGUAGE');
            $prfd                           = null;
            preg_match_all('/([a-z]{2})(?:-[a-zA-Z]{2})?/', $sReturn['accept_language'], $prfd);
            $sReturn['preferred locale']    = $prfd[0];
            $sReturn['preferred languages'] = array_values(array_unique(array_values($prfd[1])));
        }
        return $sReturn;
    }
private function getClientBrowserAccepted ( ) { $ this -> autoPopulateSuperGlobals ( ) ; $ sReturn = [ 'accept' => $ this -> brServerGlobals -> server -> get ( 'HTTP_ACCEPT' ) , 'accept_encoding' => $ this -> brServerGlobals -> server -> get ( 'HTTP_ACCEPT_ENCODING' ) , ] ; if ( ! is_null ( $ this -> brServerGlobals -> server -> get ( 'HTTP_ACCEPT_LANGUAGE' ) ) ) { $ sReturn [ 'accept_language' ] = $ this -> brServerGlobals -> server -> get ( 'HTTP_ACCEPT_LANGUAGE' ) ; $ prfd = null ; preg_match_all ( '/([a-z]{2})(?:-[a-zA-Z]{2})?/' , $ sReturn [ 'accept_language' ] , $ prfd ) ; $ sReturn [ 'preferred locale' ] = $ prfd [ 0 ] ; $ sReturn [ 'preferred languages' ] = array_values ( array_unique ( array_values ( $ prfd [ 1 ] ) ) ) ; } return $ sReturn ; }
Returns accepted things setting from the client browser

@return array
Returns accepted things setting from the client browser