phpDocumentor

ReviewInterface

Interface ReviewInterface

Tags
category

System

subpackage

Entities

Table of Contents

delete()  : $this|ReviewInterface
Deletes review from database.
getCustomer()  : ReviewCustomerInterface
Returns the review customer.
getDateAdded()  : DateTime
Returns the added datetime.
getId()  : int
Returns the review id.
getLanguageId()  : int
Returns the language id.
getLastModifiedDate()  : DateTime
Returns the last modified datetime.
getProductId()  : int
Returns the product id.
getRating()  : int
Returns the rating.
getRead()  : int
Returns the number of read.
getText()  : string
Returns the review text.
setCustomer()  : $this|ReviewInterface
Sets the review customer.
setDateAdded()  : $this|ReviewInterface
Sets the added datetime.
setId()  : $this|ReviewInterface
Sets the review id
setLanguageId()  : $this|ReviewInterface
Sets the language id.
setLastModifiedDate()  : $this|ReviewInterface
Sets the last modified datetime.
setProductId()  : $this|ReviewInterface
Sets the product id
setRating()  : $this|ReviewInterface
Sets the rating.
setRead()  : $this|ReviewInterface
Sets the number of read.
setText()  : $this|ReviewInterface
Sets the review text.
store()  : $this|ReviewInterface
Saves review in database.

Methods

getDateAdded()

Returns the added datetime.

public getDateAdded() : DateTime
Return values
DateTime

getId()

Returns the review id.

public getId() : int
Return values
int

Review id.

getLanguageId()

Returns the language id.

public getLanguageId() : int
Return values
int

The language id.

getLastModifiedDate()

Returns the last modified datetime.

public getLastModifiedDate() : DateTime
Return values
DateTime

The last modified datetime to be set.

getProductId()

Returns the product id.

public getProductId() : int
Return values
int

The product id.

getRating()

Returns the rating.

public getRating() : int
Return values
int

Rating.

getRead()

Returns the number of read.

public getRead() : int
Return values
int

The number of read.

getText()

Returns the review text.

public getText() : string
Return values
string

The review text.

setDateAdded()

Sets the added datetime.

public setDateAdded(DateTime $dateAdded) : $this|ReviewInterface
Parameters
$dateAdded : DateTime

Date to be set.

Return values
$this|ReviewInterface

Same instance for chained method calls.

setLastModifiedDate()

Sets the last modified datetime.

public setLastModifiedDate(DateTime $lastModifiedDate) : $this|ReviewInterface
Parameters
$lastModifiedDate : DateTime

The last modified date to be set.

Return values
$this|ReviewInterface

Same instance for chained method calls.

Search results