WURFL/WURFLUtils.php
public static function isXhtmlRequester($request)
    {
        if (!isset($request["accept"])) {
            return false;
        }
        
        $accept = $request["accept"];
        if (isset($accept)) {
            if ((strpos($accept, WURFL_Constants::ACCEPT_HEADER_VND_WAP_XHTML_XML) !== 0)
            || (strpos($accept, WURFL_Constants::ACCEPT_HEADER_XHTML_XML) !== 0)
            || (strpos($accept, WURFL_Constants::ACCEPT_HEADER_TEXT_HTML) !== 0)) {
                return true;
            }
        }

        return false;
    }
public static function isXhtmlRequester($request)
    {
        if (!isset($request["accept"])) {
            return false;
        }
        
        $accept = $request["accept"];
        if (isset($accept)) {
            if ((strpos($accept, WURFL_Constants::ACCEPT_HEADER_VND_WAP_XHTML_XML) !== 0)
            || (strpos($accept, WURFL_Constants::ACCEPT_HEADER_XHTML_XML) !== 0)
            || (strpos($accept, WURFL_Constants::ACCEPT_HEADER_TEXT_HTML) !== 0)) {
                return true;
            }
        }

        return false;
    }
public static function isXhtmlRequester ( $ request ) { if ( ! isset ( $ request [ "accept" ] ) ) { return false ; } $ accept = $ request [ "accept" ] ; if ( isset ( $ accept ) ) { if ( ( strpos ( $ accept , WURFL_Constants :: ACCEPT_HEADER_VND_WAP_XHTML_XML ) !== 0 ) || ( strpos ( $ accept , WURFL_Constants :: ACCEPT_HEADER_XHTML_XML ) !== 0 ) || ( strpos ( $ accept , WURFL_Constants :: ACCEPT_HEADER_TEXT_HTML ) !== 0 ) ) { return true ; } } return false ; }
Checks if the requester device is xhtml enabled

@param array $request HTTP Request array (normally $_SERVER)
@return bool
Checks if the requester device is xhtml enabled