protected function initFlavorIds()
 {
     $flavorIds = $this->getRequestParameter("flavorIds", null);
     if (!is_null($flavorIds)) {
         $this->flavorIds = explode(',', $flavorIds);
     }
     $flavorId = $this->getRequestParameter("flavorId", null);
     if (!is_null($flavorId)) {
         $this->flavorIds = array($flavorId);
     }
     if (!is_null($this->flavorIds)) {
         return;
     }
     $flavorParamIds = $this->getRequestParameter("flavorParamIds", null);
     if (!is_null($flavorParamIds)) {
         $this->flavorParamsIds = explode(',', $flavorParamIds);
     }
     $flavorParamId = $this->getRequestParameter("flavorParamId", null);
     if (!is_null($flavorParamId)) {
         $this->flavorParamsIds = array($flavorParamId);
     }
     if (is_null($this->flavorParamsIds)) {
         return;
     }
     $this->flavorParamsIds = $this->secureEntryHelper->filterAllowedFlavorParams($this->flavorParamsIds);
     if (is_null($this->flavorParamsIds)) {
         return;
     }
     $this->flavorIds = assetPeer::retrieveReadyFlavorsIdsByEntryId($this->entryId, $this->flavorParamsIds);
 }