Inheritance diagram for oxTsRatings:
Collaboration diagram for oxTsRatings:Public Member Functions | |
| getTsId () | |
| setTsId ($sId) | |
| getRatings () | |
Public Attributes | |
| const | CACHE_TTL = 43200 |
| const | TS_RATINGS = 'TS_RATINGS' |
Protected Member Functions | |
| _executeCurl ($sUrl) | |
Protected Attributes | |
| $_aChannel = array() | |
| $_sTsId = null | |
Definition at line 3 of file oxtsratings.php.
| oxTsRatings._executeCurl | ( | $ | sUrl | ) | [protected] |
Executes curl request to trusted shops
| $sUrl |
Definition at line 58 of file oxtsratings.php.
| oxTsRatings.getRatings | ( | ) |
Returns trusted shop ratings, if possible, if not returns array with key empty set to true
Definition at line 76 of file oxtsratings.php.
| oxTsRatings.getTsId | ( | ) |
| oxTsRatings.setTsId | ( | $ | sId | ) |
oxTsRatings.$_aChannel = array() [protected] |
Definition at line 22 of file oxtsratings.php.
oxTsRatings.$_sTsId = null [protected] |
Definition at line 29 of file oxtsratings.php.
| const oxTsRatings.CACHE_TTL = 43200 |
timeout in seconds for regenerating data (3h)
Definition at line 9 of file oxtsratings.php.
| const oxTsRatings.TS_RATINGS = 'TS_RATINGS' |
data id for cache
Definition at line 14 of file oxtsratings.php.
1.7.1