Public Member Functions | Protected Attributes

Suggest Class Reference

Inheritance diagram for Suggest:
Collaboration diagram for Suggest:

List of all members.

Public Member Functions

 send ()
 getProduct ()
 getCrossSelling ()
 getSimilarProducts ()
 getRecommList ()
 setSuggestData ($oData)
 getSuggestData ()
 getLink ($iLang=null)
 getCaptcha ()
 getBreadCrumb ()

Protected Attributes

 $_sThisTemplate = 'page/info/suggest.tpl'
 $_aReqFields = array('rec_name', 'rec_email', 'send_name', 'send_email', 'send_message', 'send_subject')
 $_oCrossSelling = null
 $_oSimilarProducts = null
 $_oRecommList = null
 $_aSuggestData = null
 $_oCaptcha = null

Detailed Description

Article suggestion page. Collects some article base information, sets default recomendation text, sends suggestion mail to user.

Definition at line 8 of file suggest.php.


Member Function Documentation

Suggest.getBreadCrumb (  ) 

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

Returns:
array

Reimplemented from oxUBase.

Definition at line 284 of file suggest.php.

Suggest.getCaptcha (  ) 

Template variable getter. Returns object of handling CAPTCHA image

Returns:
object

Definition at line 270 of file suggest.php.

Suggest.getCrossSelling (  ) 

Template variable getter. Returns recommlist's reviews

Returns:
array

Reimplemented from oxUBase.

Definition at line 170 of file suggest.php.

Suggest.getLink ( iLang = null  ) 

get link of current view

Parameters:
int $iLang requested language
Returns:
string

Reimplemented from oxUBase.

Definition at line 248 of file suggest.php.

Suggest.getProduct (  ) 

Template variable getter. Returns search product

Returns:
object

Reimplemented from oxUBase.

Definition at line 150 of file suggest.php.

Suggest.getRecommList (  ) 

Template variable getter. Returns recommlist's reviews

Returns:
array

Definition at line 204 of file suggest.php.

Suggest.getSimilarProducts (  ) 

Template variable getter. Returns recommlist's reviews

Returns:
array

Reimplemented from oxUBase.

Definition at line 187 of file suggest.php.

Suggest.getSuggestData (  ) 

Template variable getter. Returns active object's reviews

Returns:
array

Definition at line 236 of file suggest.php.

Suggest.send (  ) 

Sends product suggestion mail and returns a URL according to URL formatting rules.

Template variables: editval, error

Returns:
null

Definition at line 69 of file suggest.php.

Suggest.setSuggestData ( oData  ) 

Suggest data setter

Parameters:
object $oData suggest data object

Definition at line 226 of file suggest.php.


Member Data Documentation

Suggest.$_aReqFields = array('rec_name', 'rec_email', 'send_name', 'send_email', 'send_message', 'send_subject') [protected]

Definition at line 23 of file suggest.php.

Suggest.$_aSuggestData = null [protected]

Definition at line 51 of file suggest.php.

Suggest.$_oCaptcha = null [protected]

Definition at line 58 of file suggest.php.

Suggest.$_oCrossSelling = null [protected]

Definition at line 30 of file suggest.php.

Suggest.$_oRecommList = null [protected]

Definition at line 44 of file suggest.php.

Suggest.$_oSimilarProducts = null [protected]

Definition at line 37 of file suggest.php.

Suggest.$_sThisTemplate = 'page/info/suggest.tpl' [protected]

Reimplemented from oxView.

Definition at line 16 of file suggest.php.


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