См. определение в файле helper.php строка 8
◆ clearCache()
static clearCache |
( |
|
$siteId | ) |
|
|
static |
Cleans active A/B-test cache
- Аргументы
-
- Возвращает
- void
См. определение в файле helper.php строка 330
◆ deleteTest()
Deletes an A/B-test
- Аргументы
-
- Возвращает
- bool
См. определение в файле helper.php строка 306
◆ getActiveTest()
Returns active A/B-test
- Возвращает
- array|null
См. определение в файле helper.php строка 16
◆ getAlternative()
static getAlternative |
( |
|
$type, |
|
|
|
$value |
|
) |
| |
|
static |
Returns alternative test value for current A/B-test context
- Аргументы
-
string | $type | Test type. |
string | $value | Test original value. |
- Возвращает
- string|null
См. определение в файле helper.php строка 208
◆ getContext()
Returns current A/B-test context
- Возвращает
- array|null
См. определение в файле helper.php строка 116
◆ startTest()
Starts an A/B-test
- Аргументы
-
- Возвращает
- bool
См. определение в файле helper.php строка 233
◆ stopTest()
static stopTest |
( |
|
$id, |
|
|
|
$auto = false |
|
) |
| |
|
static |
Stops an A/B-test
- Аргументы
-
int | $id | A/B-test ID. |
bool | $auto | Auto-stop flag. |
- Возвращает
- bool
См. определение в файле helper.php строка 273