public function setUa($ua)
    {
        $this->ua = $this->detector->setUserAgent($ua);

        // set browser & platform
        $this->setBrowser();

        return $this;
    }
public function setUa($ua)
    {
        $this->ua = $this->detector->setUserAgent($ua);

        // set browser & platform
        $this->setBrowser();

        return $this;
    }
public function setUa ( $ ua ) { $ this -> ua = $ this -> detector -> setUserAgent ( $ ua ) ; // set browser & platform $ this -> setBrowser ( ) ; return $ this ; }
Set user agent

@param string $ua
@return Visitor
Set user agent