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

Public Member Functions

 render ()
 
 send ()
 
 getUserData ()
 
 getContactSubject ()
 
 getContactMessage ()
 
 getContactSendStatus ()
 
 getBreadCrumb ()
 
 getTitle ()
 

Protected Attributes

 $_aUserData = null
 
 $_sContactSubject = null
 
 $_sContactMessage = null
 
 $_blContactSendStatus = null
 
 $_sThisTemplate = 'page/info/contact.tpl'
 
 $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
 

Private Member Functions

 getMappedContactFormRequest ()
 
 sendContactMail ($email, $subject, $message)
 

Detailed Description

Contact window. Arranges "CONTACT" window, by creating form for user opinion (etc.) submission. After user correctly fulfils all required fields all information is sent to shop owner by email. OXID eShop -> CONTACT.

Member Function Documentation

◆ getBreadCrumb()

OxidEsales\EshopCommunity\Application\Controller\ContactController::getBreadCrumb ( )

Returns Bread Crumb - you are here page1/page2/page3...

Returns
array

◆ getContactMessage()

OxidEsales\EshopCommunity\Application\Controller\ContactController::getContactMessage ( )

Template variable getter. Returns entered message

Returns
object

◆ getContactSendStatus()

OxidEsales\EshopCommunity\Application\Controller\ContactController::getContactSendStatus ( )

Template variable getter. Returns status if email was send succesfull

Returns
object

◆ getContactSubject()

OxidEsales\EshopCommunity\Application\Controller\ContactController::getContactSubject ( )

Template variable getter. Returns entered contact subject

Returns
object

◆ getMappedContactFormRequest()

OxidEsales\EshopCommunity\Application\Controller\ContactController::getMappedContactFormRequest ( )
private
Returns
array

◆ getTitle()

OxidEsales\EshopCommunity\Application\Controller\ContactController::getTitle ( )

Page title

Returns
string

◆ getUserData()

OxidEsales\EshopCommunity\Application\Controller\ContactController::getUserData ( )

Template variable getter. Returns entered user data

Returns
object

◆ render()

OxidEsales\EshopCommunity\Application\Controller\ContactController::render ( )
Returns
string

◆ send()

OxidEsales\EshopCommunity\Application\Controller\ContactController::send ( )

Composes and sends user written message, returns false if some parameters are missing.

Returns
bool

◆ sendContactMail()

OxidEsales\EshopCommunity\Application\Controller\ContactController::sendContactMail (   $email,
  $subject,
  $message 
)
private

Send a contact mail.

Parameters
string$email
string$subject
string$message

Member Data Documentation

◆ $_aUserData

OxidEsales\EshopCommunity\Application\Controller\ContactController::$_aUserData = null
protected

◆ $_blContactSendStatus

OxidEsales\EshopCommunity\Application\Controller\ContactController::$_blContactSendStatus = null
protected

◆ $_iViewIndexState

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

◆ $_sContactMessage

OxidEsales\EshopCommunity\Application\Controller\ContactController::$_sContactMessage = null
protected

◆ $_sContactSubject

OxidEsales\EshopCommunity\Application\Controller\ContactController::$_sContactSubject = null
protected

◆ $_sThisTemplate

OxidEsales\EshopCommunity\Application\Controller\ContactController::$_sThisTemplate = 'page/info/contact.tpl'
protected

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