public static function checkBrowserWebTv()
    {
        if (stripos(self::$userAgentString, 'webtv') !== false) {
            $aresult = explode('/', stristr(self::$userAgentString, 'webtv'));
            if (isset($aresult[1])) {
                $aversion = explode(' ', $aresult[1]);
                self::$browser->setVersion($aversion[0]);
            }
            self::$browser->setName(Browser::WEBTV);

            return true;
        }

        return false;
    }
public static function checkBrowserWebTv()
    {
        if (stripos(self::$userAgentString, 'webtv') !== false) {
            $aresult = explode('/', stristr(self::$userAgentString, 'webtv'));
            if (isset($aresult[1])) {
                $aversion = explode(' ', $aresult[1]);
                self::$browser->setVersion($aversion[0]);
            }
            self::$browser->setName(Browser::WEBTV);

            return true;
        }

        return false;
    }
public static function checkBrowserWebTv ( ) { if ( stripos ( self :: $ userAgentString , 'webtv' ) !== false ) { $ aresult = explode ( '/' , stristr ( self :: $ userAgentString , 'webtv' ) ) ; if ( isset ( $ aresult [ 1 ] ) ) { $ aversion = explode ( ' ' , $ aresult [ 1 ] ) ; self :: $ browser -> setVersion ( $ aversion [ 0 ] ) ; } self :: $ browser -> setName ( Browser :: WEBTV ) ; return true ; } return false ; }
Determine if the browser is WebTv.

@return bool
Determine if the browser is WebTv .