String getDomainKey(
String
$domain
)
|
|
Get a hint of the search key word for a particular search engine
if the query is ?q=web+expert&author=finn returns 'q'
Parameters:
|
String |
$domain: |
The domain name from the referer |
API Tags:
String getDomainName(
String
$url
)
|
|
Get the domain name from an url if the $url is i.e.
http://www.finn-rasmussen.com/somedir/index.html returns 'finn-rasmussen.com'
Parameters:
|
String |
$url: |
The url, to extract the domain name from |
API Tags:
Builds the html for a Referer and builds the keyword to get
API Tags:
| Return: | The result as html |
Redefinition of:
- Html::getHtml()
- Get Html
String getSearchPhrase(
String
$query, [String
$domain = '']
)
|
|
Get the search phrase from the query
if the query is ?q=web+expert&author=finn returns 'web expert'
Parameters:
|
String |
$query: |
The query from the referer |
|
String |
$domain: |
The domain name from the referer |
API Tags:
Logs the domain name from where the user came from
Logs the phrase what the user searched for
Logs the referer where the user came from and searched for domain+phrase