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

Class: CustomerReview

Source Location: /other.class.php

Class Overview

This class hold Amazon customer reviews.

Author(s):

Version: 0.3RC1

Copyright: 2004 (c) Mauricio Diaz Orlich

Methods


Class Details [line 552]

This class hold Amazon customer reviews.

Each review consists of a 0-5 rating, a one-line summary of the review, and the customer review.




Tags:

Version:  0.3RC1
  
License:  GNU General Public License
  
Copyright:  2004 (c) Mauricio Diaz Orlich
  
Author:  Mauricio Diaz <madd0@users.sourceforge.net>


[ Top ]


Class Methods


method getRating [line 578]

float getRating( )

Gets the customer's rating for this product



Tags:

Return:  the customer's rating in the scale of 0-5


[ Top ]

method getReview [line 607]

string getReview( [integer $words = 0], [string $end = "..."])

Gets the customer's review for this product.



Tags:

Return:  the customer's review for the current product, or at least the number of words requested.


Parameters:

integer   $words   the number of words you want to get, or 0 if you want the whole review.
string   $end   the character(s) to be appended at the end of the review in case the whole text is not returned.

[ Top ]

method getSummary [line 592]

string getSummary( )

Get the summary of the customer's review.

The summary consists of one line describing the review.




Tags:

Return:  the summary of the customer's review.


[ Top ]

 
Documentation generated on Sat, 21 Aug 2004 17:40:42 +0200 by phpDocumentor 1.3.0RC3
hosted by
SourceForge.net Logo