protected function checkBrowserBlackBerry()
{
if (stripos($this->_agent, 'blackberry') !== false) {
$aresult = explode("/", stristr($this->_agent, "BlackBerry"));
if (isset($aresult[1])) {
$aversion = explode(' ', $aresult[1]);
$this->setVersion($aversion[0]);
$this->_browser_name = self::BROWSER_BLACKBERRY;
$this->setMobile(true);
return true;
}
}
return false;
}