public function init($args)
 {
     parent::init($args);
     if (isset($args['CHANNEL_CLASS'])) {
         $this->setChannelClass($args['CHANNEL_CLASS']);
     }
     if (isset($args['ITEM_CLASS'])) {
         $this->setItemClass($args['ITEM_CLASS']);
     }
     if (isset($args['IMAGE_CLASS'])) {
         $this->setImageClass($args['IMAGE_CLASS']);
     }
     if (isset($args['ENCLOSURE_CLASS'])) {
         $this->setEnclosureClass($args['ENCLOSURE_CLASS']);
     }
     if (isset($args['IMAGE_ENCLOSURE_CLASS'])) {
         $this->setImageEnclosureClass($args['IMAGE_ENCLOSURE_CLASS']);
     }
     if (isset($args['REMOVE_DUPLICATES'])) {
         $this->removeDuplicates = $args['REMOVE_DUPLICATES'];
     }
     if (isset($args['HTML_ESCAPED_CDATA'])) {
         $this->htmlEscapedCDATA = $args['HTML_ESCAPED_CDATA'];
     }
     if (isset($args['USE_DESCRIPTION_FOR_CONTENT'])) {
         $this->setUseDescriptionForContent($args['USE_DESCRIPTION_FOR_CONTENT']);
     }
 }
 public function init($args)
 {
     parent::init($args);
     if (isset($args['SPORT'])) {
         $this->sport = $args['SPORT'];
     }
 }
예제 #3
0
 public function init($args)
 {
     parent::init($args);
     $this->feedId = mapIdForFeedData($args);
     if (isset($args['ALIASES'])) {
         $this->aliases = $args['ALIASES'];
     }
 }
예제 #4
0
 public function init($args)
 {
     parent::init($args);
     $this->feedId = mapIdForFeedData($args);
 }