Contact Class Reference

Inheritance diagram for Contact:

Inheritance graph
[legend]
Collaboration diagram for Contact:

Collaboration graph
[legend]

List of all members.


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.

Public Member Functions

 render ()
 send ()
 getUserData ()
 getContactSubject ()
 getContactMessage ()
 getCaptcha ()
 getContactSendStatus ()

Protected Attributes

 $_aUserData = null
 $_sContactSubject = null
 $_sContactMessage = null
 $_oCaptcha = null
 $_blContactSendStatus = null
 $_sThisTemplate = 'contact.tpl'
 $_iViewIndexState = 1

Member Function Documentation

Contact.render (  ) 

Executes parent.render(), loads action articles and sets parameters (subject, message) used by template engine. Returns name of template to render contact._sThisTemplate

Template variables: c_subject, c_message, editval, useantispam

Returns:
string

Reimplemented from oxUBase.

Contact.send (  ) 

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

Template variables: error, success

Returns:
bool

Contact.getUserData (  ) 

Template variable getter. Returns entered user data

Returns:
object

Contact.getContactSubject (  ) 

Template variable getter. Returns entered user data

Returns:
object

Contact.getContactMessage (  ) 

Template variable getter. Returns entered user data

Returns:
object

Contact.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Contact.getContactSendStatus (  ) 

Template variable getter. Returns status if email was send succesfull

Returns:
object


Member Data Documentation

Contact.$_aUserData = null [protected]

Contact.$_sContactSubject = null [protected]

Contact.$_sContactMessage = null [protected]

Contact.$_oCaptcha = null [protected]

Contact.$_blContactSendStatus = null [protected]

Contact.$_sThisTemplate = 'contact.tpl' [protected]

Reimplemented from oxView.

Contact.$_iViewIndexState = 1 [protected]

Current view search engine indexing state: 0 - index without limitations 1 - no index / no follow 2 - no index / follow

Reimplemented from oxView.


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

Generated on Wed Oct 29 23:40:21 2008 for OXID eShop CE by  doxygen 1.5.5