Public Member Functions | Protected Attributes

Contact Class Reference

Inheritance diagram for Contact:
Collaboration diagram for Contact:

List of all members.

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 = VIEW_INDEXSTATE_NOINDEXNOFOLLOW

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.


Member Function Documentation

Contact.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Definition at line 171 of file contact.php.

Contact.getContactMessage (  ) 

Template variable getter. Returns entered message

Returns:
object

Definition at line 158 of file contact.php.

Contact.getContactSendStatus (  ) 

Template variable getter. Returns status if email was send succesfull

Returns:
object

Definition at line 184 of file contact.php.

Contact.getContactSubject (  ) 

Template variable getter. Returns entered contact subject

Returns:
object

Definition at line 145 of file contact.php.

Contact.getUserData (  ) 

Template variable getter. Returns entered user data

Returns:
object

Definition at line 132 of file contact.php.

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 65 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 89 of file contact.php.


Member Data Documentation

Contact.$_aUserData = null [protected]

Definition at line 16 of file contact.php.

Contact.$_blContactSendStatus = null [protected]

Definition at line 40 of file contact.php.

Contact.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW [protected]

Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow

Reimplemented from oxUBase.

Definition at line 53 of file contact.php.

Contact.$_oCaptcha = null [protected]

Definition at line 34 of file contact.php.

Contact.$_sContactMessage = null [protected]

Definition at line 28 of file contact.php.

Contact.$_sContactSubject = null [protected]

Definition at line 22 of file contact.php.

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

Reimplemented from oxView.

Definition at line 46 of file contact.php.


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