Back to Browser class

Method setBrowser

public void
setBrowser
(mixed $browser)
Sets the current browser.
Parameters
  • string $browser The browser to set as current.
Returns
  • void
Since
  • 1.7.0
Class: Browser
Project: Joomla

Method setBrowser - Source code

/**
 * Sets the current browser.
 *
 * @param   string  $browser  The browser to set as current.
 *
 * @return  void
 *
 * @since   1.7.0
 */
public function setBrowser($browser)
{
    $this->browser = $browser;
}