52 $this->markId =
time();
56 $cookieMarkId =
false;
58 $cookieMarkId = $this->cookieManager->getCookie(self::COOKIE_KEY);
61 $this->markId = $cookieMarkId ? $cookieMarkId :
time();
74 public function markSections(array $sectionsData, $sectionNames =
null, $updateIds =
false)
77 $sectionNames = array_keys($sectionsData);
81 foreach ($sectionNames as
$name) {
82 if ($updateIds || !array_key_exists(self::SECTION_KEY, $sectionsData[
$name])) {
__construct(\Magento\Framework\Stdlib\Cookie\PhpCookieManager $cookieManager)
markSections(array $sectionsData, $sectionNames=null, $updateIds=false)
if(!isset($_GET['name'])) $name