public function getUrlTrackSiteSearch($keyword, $category, $countResults)
    {
        $url = $this->getRequest($this->idSite);
        $url .= '&search=' . urlencode($keyword);
        if (strlen($category) > 0) {
            $url .= '&search_cat=' . urlencode($category);
        }
        if (!empty($countResults) || $countResults === 0) {
            $url .= '&search_count=' . (int)$countResults;
        }

        return $url;
    }
public function getUrlTrackSiteSearch($keyword, $category, $countResults)
    {
        $url = $this->getRequest($this->idSite);
        $url .= '&search=' . urlencode($keyword);
        if (strlen($category) > 0) {
            $url .= '&search_cat=' . urlencode($category);
        }
        if (!empty($countResults) || $countResults === 0) {
            $url .= '&search_count=' . (int)$countResults;
        }

        return $url;
    }
public function getUrlTrackSiteSearch ( $ keyword , $ category , $ countResults ) { $ url = $ this -> getRequest ( $ this -> idSite ) ; $ url .= '&search=' . urlencode ( $ keyword ) ; if ( strlen ( $ category ) > 0 ) { $ url .= '&search_cat=' . urlencode ( $ category ) ; } if ( ! empty ( $ countResults ) || $ countResults === 0 ) { $ url .= '&search_count=' . ( int ) $ countResults ; } return $ url ; }
Builds URL to track a site search.

@see doTrackSiteSearch()
@param string $keyword
@param string $category
@param int $countResults
@return string
Builds URL to track a site search .