/** * store paramaters in the session * @return integer fit_id */ function storeFitInSession() { $search = $this->flexibleSearch(); $mapping_id = $search->storeFitInSession(); if (file_exists(ELITE_PATH . '/Vaftire')) { $tireSearch = new Elite_Vaftire_Model_FlexibleSearch($search); $tireSearch->storeTireSizeInSession(); } if (file_exists(ELITE_PATH . '/Vafwheel')) { $wheelSearch = new Elite_Vafwheel_Model_FlexibleSearch($search); $wheelSearch->storeSizeInSession(); } if (file_exists(ELITE_PATH . '/Vafwheeladapter')) { $wheeladapterSearch = new Elite_Vafwheeladapter_Model_FlexibleSearch($search); $wheeladapterSearch->storeAdapterSizeInSession(); } return $mapping_id; }