Interface ReviewInterface

Interface ReviewInterface

Direct known implementers

Review

Methods summary

public store( void ) :

Saves review in database.

public delete( void ) :

Deletes review from database.

public getId( void ) : integer

Returns the review id.

public setId( IdType $id ) :

Sets the review id

public getProductId( void ) : integer

Returns the product id.

public setProductId( IdType $productId ) :

Sets the product id

public getRating( void ) : integer

Returns the rating.

public setRating( IntType $rating ) :

Sets the rating.

public getDateAdded( void ) : DateTime

Returns the added datetime.

public setDateAdded( DateTime $dateAdded ) :

Sets the added datetime.

public getLastModifiedDate( void ) : DateTime

Returns the last modified datetime.

public setLastModifiedDate( DateTime $lastModifiedDate ) :

Sets the last modified datetime.

public getRead( void ) : integer

Returns the number of read.

public setRead( IntType $read ) :

Sets the number of read.

public getLanguageId( void ) : integer

Returns the language id.

public setLanguageId( IntType $languageId ) :

Sets the language id.

public getText( void ) : string

Returns the review text.

public setText( StringType $text ) :

Sets the review text.

public getCustomer( void ) : ReviewCustomerInterface

Returns the review customer.

public setCustomer( ReviewCustomerInterface $customer ) :

Sets the review customer.