english/libraries/joomla/environment/browser.php
/**
	 * Match the platform of the browser.
	 *
	 * This is a pretty simplistic implementation, but it's intended
	 * to let us tell what line breaks to send, so it's good enough
	 * for its purpose.
	 *
	 * @return
	 * @since   11.1
	 */
Match the platform of the browser.
This is a pretty simplistic implementation, but it's intended
to let us tell what line breaks to send, so it's good enough
for its purpose.


Match the platform of the browser . This is a pretty simplistic implementation but it ' s intended to let us tell what line breaks to send so it ' s good enough for its purpose .
protected function _setPlatform()
	{
		if (strpos($this->_lowerAgent, 'wind') !== false) {
			$this->_platform = 'win';
		} elseif (strpos($this->_lowerAgent, 'mac') !== false) {
			$this->_platform = 'mac';
		} else {
			$this->_platform = 'unix';
		}
	}
protected function _setPlatform ( ) { if ( strpos ( $ this -> _lowerAgent , 'wind' ) !== false ) { $ this -> _platform = 'win' ; } elseif ( strpos ( $ this -> _lowerAgent , 'mac' ) !== false ) { $ this -> _platform = 'mac' ; } else { $ this -> _platform = 'unix' ; } }
Match the platform of the browser.
Match the platform of the browser .