protected function checkChromeFrame()
    {

        $this->_chrome_frame = false;
        if (preg_match('/chromeframe/i', $this->_agent)) {
            $this->_chrome_frame = true;
            $aresult = explode('/', stristr($this->_agent, 'chromeframe'));
            $aversion = explode(' ', $aresult[1]);
            $chrome_version = explode('.', $aversion[0]);
            $this->_chrome_frame_version = $chrome_version[0];
        }

        return $this->_chrome_frame;
    }
protected function checkChromeFrame()
    {

        $this->_chrome_frame = false;
        if (preg_match('/chromeframe/i', $this->_agent)) {
            $this->_chrome_frame = true;
            $aresult = explode('/', stristr($this->_agent, 'chromeframe'));
            $aversion = explode(' ', $aresult[1]);
            $chrome_version = explode('.', $aversion[0]);
            $this->_chrome_frame_version = $chrome_version[0];
        }

        return $this->_chrome_frame;
    }
protected function checkChromeFrame ( ) { $ this -> _chrome_frame = false ; if ( preg_match ( '/chromeframe/i' , $ this -> _agent ) ) { $ this -> _chrome_frame = true ; $ aresult = explode ( '/' , stristr ( $ this -> _agent , 'chromeframe' ) ) ; $ aversion = explode ( ' ' , $ aresult [ 1 ] ) ; $ chrome_version = explode ( '.' , $ aversion [ 0 ] ) ; $ this -> _chrome_frame_version = $ chrome_version [ 0 ] ; } return $ this -> _chrome_frame ; }
Protected routine to determine if the browser is chrome frame enabled
@return boolean True if the browser was detected otherwise false
Protected routine to determine if the browser is chrome frame enabled