Class GoogleQuery

Description

Located in /GoogleQuery.class.php (line 3)


	
			
Class Constant Summary
 scoring_Date = 'd'
 size_large = 'large'
 size_small = 'small'
 source_Arabic = 'ar_me'
 source_Hindi_India = 'hi_in'
 source_Spanish_USA = 'es_us'
 source_Tamil_India = 'ta_in'
 topic_Africa = 'af'
 topic_Health = 'm'
 topic_Nation = 'n'
 topic_Popular = 'po'
 topic_Sports = 's'
 topic_World = 'w'
Variable Summary
string $data
string $query
string $scoring
string $size
string $source
int $start
string $topic
Method Summary
GoogleQuery __construct ([string $query = null], [int $start = null], [string $scoring = null], [string $source = null], [string $topic = null], [string $size = null])
Variables
string $data (line 122)
  • var: The engine type (news, blogs etc.)
  • access: public
string $query (line 107)
  • var: This argument supplies the query, or search expression, that is passed into the searcher.
  • access: public
string $scoring (line 102)
  • var: This optional argument tells the news search system how to order results
  • access: public
string $size (line 112)
  • var: This optional argument supplies the number of results that the application would like to recieve
  • access: public
string $source (line 92)
  • var: This optional argument tells the news search system which edition of news to pull results from
  • access: public
Pair[] $specific_options = array() (line 127)
  • var: Specific search options
  • access: public
int $start (line 117)
  • var: This optional argument supplies the start index of the first search result
  • access: public
string $topic (line 97)
  • var: This optional argument tells the news search system to scope search results to a particular topic
  • access: public
Methods
Constructor __construct (line 138)

Constructor

  • access: public
GoogleQuery __construct ([string $query = null], [int $start = null], [string $scoring = null], [string $source = null], [string $topic = null], [string $size = null])
  • string $query: [OPTIONAL]
  • int $start: [OPTIONAL]
  • string $scoring: [OPTIONAL]
  • string $source: [OPTIONAL]
  • string $topic: [OPTIONAL]
  • string $size: [OPTIONAL]
Class Constants
scoring_Date = 'd' (line 6)
scoring_DateNoDuplicates = 'n' (line 7)
scoring_Relevance = 'r' (line 5)
size_large = 'large' (line 87)
size_small = 'small' (line 86)
source_Arabic = 'ar_me' (line 75)
source_Chinese_China = 'cn' (line 81)
source_Chinese_HongKong = 'hk' (line 84)
source_Chinses_Taiwan = 'tw' (line 82)
source_Czech_CzechRepublic = 'cs_cz' (line 30)
source_Dutch_Belgium = 'nl_be' (line 24)
source_Dutch_Nederland = 'nl_nl' (line 49)
source_English_Australia = 'au' (line 23)
source_English_Botswana = 'en_bw' (line 26)
source_English_Canada = 'ca' (line 28)
source_English_Ethiopia = 'en_et' (line 37)
source_English_Ghana = 'en_gh' (line 39)
source_English_India = 'in' (line 40)
source_English_Ireland = 'en_ie' (line 41)
source_English_Israel = 'en_il' (line 42)
source_English_Kenya = 'en_ke' (line 44)
source_English_Malaysia = 'en_my' (line 46)
source_English_Namibia = 'en_na' (line 48)
source_English_NewZealand = 'nz' (line 50)
source_English_Nigeria = 'en_ng' (line 51)
source_English_Pakistan = 'en_pk' (line 54)
source_English_Philippines = 'en_ph' (line 56)
source_English_Singapore = 'en_sg' (line 60)
source_English_SouthAfrica = 'en_za' (line 61)
source_English_Tanzania = 'en_tz' (line 64)
source_English_Uganda = 'en_ug' (line 68)
source_English_UK = 'uk' (line 66)
source_English_USA = 'us' (line 67)
source_English_Zimbabwe = 'en_zw' (line 71)
source_French_Belgium = 'fr_be' (line 25)
source_French_Canada = 'fr_ca' (line 29)
source_French_France = 'fr' (line 38)
source_French_Switzerland = 'fr_ch' (line 62)
source_German_Austria = 'de_at' (line 53)
source_German_Germany = 'de' (line 34)
source_German_Switzerland = 'de_ch' (line 59)
source_Greek_Greece = 'el_gr' (line 72)
source_Hebrew_Israel = 'iw_il' (line 74)
source_Hindi_India = 'hi_in' (line 76)
source_Hungarian_Hungary = 'hu_hu' (line 45)
source_Italian_Italia = 'it' (line 43)
source_Japanese_Japan = 'jp' (line 83)
source_Korean_Korea = 'kr' (line 80)
source_Malayalam_India = 'ml_in' (line 79)
source_Norwegian_Norwege = 'no_no' (line 52)
source_Polish_Poland = 'pl_pl' (line 57)
source_Portuguese_Brasil = 'pt-br_br' (line 27)
source_Portuguese_Portugal = 'pt-pt_pt' (line 58)
source_Russian_Russia = 'ru_ru' (line 73)
source_Spanish_Argentina = 'es_ar' (line 22)
source_Spanish_Chile = 'es_cl' (line 31)
source_Spanish_Colombia = 'es_co' (line 32)
source_Spanish_Cuba = 'es_cu' (line 33)
source_Spanish_Mexico = 'es_mx' (line 47)
source_Spanish_Peru = 'es_pe' (line 55)
source_Spanish_Spain = 'es' (line 35)
source_Spanish_USA = 'es_us' (line 36)
source_Spanish_Venezuela = 'es_ve' (line 69)
source_Swedish_Sweden = 'sv_se' (line 63)
source_Tamil_India = 'ta_in' (line 77)
source_Telugu_India = 'te_in' (line 78)
source_Turkish_Turkey = 'tr_tr' (line 65)
source_Vietnamese_VietName = 'vi_vn' (line 70)
topic_Africa = 'af' (line 19)
topic_Business = 'b' (line 11)
topic_Elections = 'el' (line 14)
topic_Entertainment = 'e' (line 16)
topic_Headlines = 'h' (line 9)
topic_Health = 'm' (line 18)
topic_Nation = 'n' (line 12)
topic_Politics = 'p' (line 15)
topic_Popular = 'po' (line 20)
topic_Sports = 's' (line 17)
topic_Technology = 't' (line 13)
topic_World = 'w' (line 10)

Documentation generated on Thu, 10 Dec 2009 15:21:19 +0100 by phpDocumentor 1.4.1