Contact Class Reference

Inheritance diagram for Contact:
[legend]
Collaboration diagram for Contact:
[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.

Definition at line 10 of file contact.php.


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.

Definition at line 66 of file contact.php.

Contact.send (  ) 

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

Template variables: error, success

Returns:
bool

Definition at line 90 of file contact.php.

Contact.getUserData (  ) 

Template variable getter. Returns entered user data

Returns:
object

Definition at line 126 of file contact.php.

Contact.getContactSubject (  ) 

Template variable getter. Returns entered user data

Returns:
object

Definition at line 139 of file contact.php.

Contact.getContactMessage (  ) 

Template variable getter. Returns entered user data

Returns:
object

Definition at line 152 of file contact.php.

Contact.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Definition at line 165 of file contact.php.

Contact.getContactSendStatus (  ) 

Template variable getter. Returns status if email was send succesfull

Returns:
object

Definition at line 178 of file contact.php.


Member Data Documentation

Contact.$_aUserData = null [protected]

Definition at line 16 of file contact.php.

Contact.$_sContactSubject = null [protected]

Definition at line 22 of file contact.php.

Contact.$_sContactMessage = null [protected]

Definition at line 28 of file contact.php.

Contact.$_oCaptcha = null [protected]

Definition at line 34 of file contact.php.

Contact.$_blContactSendStatus = null [protected]

Definition at line 40 of file contact.php.

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

Reimplemented from oxView.

Definition at line 46 of file contact.php.

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.

Definition at line 54 of file contact.php.


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

Generated on Thu Dec 4 12:05:08 2008 for OXID eShop CE by  doxygen 1.5.5