Detailed Description
Manages Trusted Shops ratings.
Definition at line 6 of file oxtsratings.php.
Member Function Documentation
oxTsRatings::_executeCurl |
( |
|
$sUrl | ) |
|
|
protected |
Executes curl request to trusted shops
- Parameters
-
string | $sUrl | Trusted shops url |
- Returns
- string curl response text
Definition at line 61 of file oxtsratings.php.
oxTsRatings::getRatings |
( |
| ) |
|
Returns trusted shop ratings, if possible, if not returns array with key empty set to true
- Returns
- array
Definition at line 79 of file oxtsratings.php.
oxTsRatings::setTsId |
( |
|
$sId | ) |
|
Sets trusted shop id
- Parameters
-
string | $sId | Trusted shops id |
Definition at line 49 of file oxtsratings.php.
Member Data Documentation
oxTsRatings::$_aChannel = array() |
|
protected |
oxTsRatings::$_sTsId = null |
|
protected |
const oxTsRatings::CACHE_TTL = 43200 |
timeout in seconds for regenerating data (3h)
Definition at line 12 of file oxtsratings.php.
const oxTsRatings::TS_RATINGS = 'TS_RATINGS' |
The documentation for this class was generated from the following file: