function storeSizeInSession() { if ($this->shouldClear()) { $this->clear(); } if (!$this->lugCount() || !$this->studSpread()) { return; } $this->clearSelection(); $tireSearch = new VF_Tire_FlexibleSearch($this); $tireSearch->clear(); $_SESSION['lug_count'] = $this->lugCount(); $_SESSION['stud_spread'] = $this->studSpread(); }