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

Class: AmazonSearch

Source Location: /modules/infotools/AmazonSearchEngine.class.php

Class Overview




Variables

Methods



Class Details

[line 31]


[ Top ]


Class Variables

$base_url =

[line 35]


Type:   mixed


[ Top ]

$base_url_default =  "http://webservices.amazon.com"

[line 33]


Type:   mixed


[ Top ]

$results = array()

[line 38]


Type:   mixed


[ Top ]

$search =

[line 36]


Type:   mixed


[ Top ]

$token =

[line 37]


Type:   mixed


[ Top ]

$url_suffix =  "/onca/xml?"

[line 34]


Type:   mixed


[ Top ]

$_currentPage = 0

[line 45]


Type:   mixed


[ Top ]

$_currentTag =

[line 43]


Type:   mixed


[ Top ]

$_currentTagContents =

[line 44]


Type:   mixed


[ Top ]

$_default_results_pages = 1

[line 47]


Type:   mixed


[ Top ]

$_grabtags =

[line 40]


Type:   mixed


[ Top ]

$_maxPage = 1

[line 46]


Type:   mixed


[ Top ]

$_parser =

[line 39]


Type:   mixed


[ Top ]

$_sourceTag =

[line 41]


Type:   mixed


[ Top ]

$_subTag =

[line 42]


Type:   mixed


[ Top ]



Class Methods


constructor AmazonSearch [line 49]

AmazonSearch AmazonSearch( $token, [ $base_url_param = ''], [ $associates_id = 'none'])



Parameters:

   $token  
   $base_url_param  
   $associates_id  

[ Top ]

method cdata [line 184]

void cdata( $parser, $cdata)



Parameters:

   $parser  
   $cdata  

[ Top ]

method create_parser [line 77]

void create_parser( )



[ Top ]

method end_element [line 211]

void end_element( $parser, $tag)



Parameters:

   $parser  
   $tag  

[ Top ]

method lookup [line 139]

void lookup( $asin, [ $type = 'Music'])



Parameters:

   $asin  
   $type  

[ Top ]

method run_search [line 94]

void run_search( $url)



Parameters:

   $url  

[ Top ]

method search [line 115]

void search( $terms, [ $type = 'Music'])



Parameters:

   $terms  
   $type  

[ Top ]

method start_element [line 160]

void start_element( $parser, $tag, $attributes)



Parameters:

   $parser  
   $tag  
   $attributes  

[ Top ]


Documentation generated on Thu, 12 Feb 2009 07:59:49 +0900 by phpDocumentor 1.4.2