Documentation

clear

void public static
\Bitrix\Catalog\CatalogViewedProductTable::clear(
 integer $liveTime = 10
);

Cleans deprecated data from table with products viewed on site. Static method.

Parameters

ParameterDescriptionVersion
$liveTimeTime period (in days) after which data is deemed as deprecated.

Example



© «Bitrix24», 2001-2024