Services_Yahoo
[ class tree: Services_Yahoo ] [ index: Services_Yahoo ] [ all elements ]

Class: Services_Yahoo_Search_web

Source Location: /Services_Yahoo-0.1.0/Yahoo/Search/web.php

Class Overview

Services_Yahoo_Search_AbstractSearch
   |
   --Services_Yahoo_Search_web

Web search class


Author(s):

Version:

  • CVS: $Id: web.php,v 1.2 2005/04/14 11:29:14 mj Exp $

Copyright:

  • 2005 Martin Jansen

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Yahoo_Search_AbstractSearch

Services_Yahoo_Search_AbstractSearch::setAdultOK()
Set that the results will include adult content
Services_Yahoo_Search_AbstractSearch::setAppID()
Set Application ID for the search
Services_Yahoo_Search_AbstractSearch::setFormat()
Set the format to search for
Services_Yahoo_Search_AbstractSearch::setQuery()
Set the query to search for
Services_Yahoo_Search_AbstractSearch::setResultNumber()
Set the number of results to return.
Services_Yahoo_Search_AbstractSearch::setStart()
Set the starting result position to return (1-based)
Services_Yahoo_Search_AbstractSearch::setType()
Set the kind of search to submit
Services_Yahoo_Search_AbstractSearch::submit()
Submits the search

Class Details

[line 41]
Web search class

This class implements an interface to Yahoo's web search by using the Yahoo API.



[ Top ]


Class Variables

$requestURL =  "http://api.search.yahoo.com/WebSearchService/V1/webSearch"

[line 43]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

setLanguage   [line 65]

void setLanguage( string $language)

Set the language the results are written in

A list of supported languages can be found on http://developer.yahoo.net/documentation/languages.html.


Parameters:

string   $language   —  Language code

[ Top ]

setSimilarOK   [line 50]

void setSimilarOK( )

Set to allow multiple results with similar content
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:19:28 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.