OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Controller\ReviewController Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Controller\ReviewController:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Controller\ReviewController:

Public Member Functions

 generateViewId ()
 
 init ()
 
 render ()
 
 saveReview ()
 
 getReviewUser ()
 
 getReviewUserHash ()
 
 getActiveRecommList ()
 
 canRate ()
 
 getReviews ()
 
 getRecommList ()
 
 getActiveRecommItems ()
 
 getReviewSendStatus ()
 
 getPageNavigation ()
 
 getAdditionalParams ()
 
 getDynUrlParams ()
 

Protected Member Functions

 _getActiveObject ()
 
 _getActiveType ()
 

Protected Attributes

 $_oRevUser = null
 
 $_oActObject = null
 
 $_oActiveRecommList = null
 
 $_oActiveRecommItems = null
 
 $_blRate = null
 
 $_aReviews = null
 
 $_oCrossSelling = null
 
 $_oSimilarProducts = null
 
 $_oRecommList = null
 
 $_blReviewSendStatus = null
 
 $_oPageNavigation = null
 
 $_sThisTemplate = 'page/review/review.tpl'
 
 $_sThisLoginTemplate = 'page/review/review_login.tpl'
 
 $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
 

Detailed Description

Review of chosen article. Collects article review data, saves new review to DB.

Member Function Documentation

◆ _getActiveObject()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::_getActiveObject ( )
protected

Template variable getter. Returns active object (oxarticle or oxrecommlist)

Returns
object

◆ _getActiveType()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::_getActiveType ( )
protected

Template variable getter. Returns active type (oxarticle or oxrecommlist)

Returns
string

◆ canRate()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::canRate ( )

Template variable getter. Returns if user can rate

Returns
bool

◆ generateViewId()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::generateViewId ( )

Returns prefix ID used by template engine.

Returns
string $this->_sViewID view id

◆ getActiveRecommItems()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getActiveRecommItems ( )

Template variable getter. Returns active recommlist's items

Deprecated:
since v5.3 (2016-06-17); Listmania will be moved to an own module.
Returns
object

◆ getActiveRecommList()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getActiveRecommList ( )

Template variable getter. Returns active recommlist

Deprecated:
since v5.3 (2016-06-17); Listmania will be moved to an own module.
Returns
oxRecommList

◆ getAdditionalParams()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getAdditionalParams ( )

Template variable getter. Returns additional params for url

Returns
string

◆ getDynUrlParams()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getDynUrlParams ( )

returns additional url params for dynamic url building

Returns
string

◆ getPageNavigation()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getPageNavigation ( )

Template variable getter. Returns page navigation

Returns
object

◆ getRecommList()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getRecommList ( )

Template variable getter. Returns recommlists

Deprecated:
since v5.3 (2016-06-17); Listmania will be moved to an own module.
Returns
object

◆ getReviews()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getReviews ( )

Template variable getter. Returns active object's reviews

Returns
array

◆ getReviewSendStatus()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getReviewSendStatus ( )

Template variable getter. Returns review send status

Returns
bool

◆ getReviewUser()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getReviewUser ( )

Returns review user object

Returns
oxuser

◆ getReviewUserHash()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::getReviewUserHash ( )

Template variable getter. Returns review user id

Returns
string

◆ init()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::init ( )

Executes parent::init(), Loads user chosen product object (with all data).

◆ render()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::render ( )

Executes parent::render, loads article reviews and additional data (\OxidEsales\Eshop\Application\Model\Article::getReviews(), \OxidEsales\Eshop\Application\Model\Article::getCrossSelling(), \OxidEsales\Eshop\Application\Model\Article::GetSimilarProducts()). Returns name of template file to render review::_sThisTemplate.

Returns
string current template file name

◆ saveReview()

OxidEsales\EshopCommunity\Application\Controller\ReviewController::saveReview ( )

Saves user review text (oxreview object)

Returns
null

Member Data Documentation

◆ $_aReviews

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_aReviews = null
protected

◆ $_blRate

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_blRate = null
protected

◆ $_blReviewSendStatus

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_blReviewSendStatus = null
protected

◆ $_iViewIndexState

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
protected

◆ $_oActiveRecommItems

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oActiveRecommItems = null
protected

◆ $_oActiveRecommList

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oActiveRecommList = null
protected

◆ $_oActObject

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oActObject = null
protected

◆ $_oCrossSelling

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oCrossSelling = null
protected

◆ $_oPageNavigation

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oPageNavigation = null
protected

◆ $_oRecommList

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oRecommList = null
protected

◆ $_oRevUser

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oRevUser = null
protected

◆ $_oSimilarProducts

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_oSimilarProducts = null
protected

◆ $_sThisLoginTemplate

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_sThisLoginTemplate = 'page/review/review_login.tpl'
protected

◆ $_sThisTemplate

OxidEsales\EshopCommunity\Application\Controller\ReviewController::$_sThisTemplate = 'page/review/review.tpl'
protected

The documentation for this class was generated from the following file: