function match($userAgent = null, $accept = null) { parent::match($userAgent, $accept); // Add detection for mobile devices that // JBrowser did not cover if (strstr($this->_agent, 'Mobile')) { $this->_mobile = true; } }