/**
  * Generate all feeds including a certain config
  * @param integer $intId
  */
 public function generateFeedsByConfig($intId)
 {
     $objFeed = FeedModel::findByConfig($intId);
     if ($objFeed !== null) {
         while ($objFeed->next()) {
             $objFeed->feedName = $objFeed->alias ?: 'customcatalog' . $objFeed->id;
             // Update the XML file
             $this->generateFiles($objFeed->row());
             $this->log('Generated CustomCatalog feed "' . $objFeed->feedName . '.xml"', __METHOD__, TL_CRON);
         }
     }
 }