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']; } }
public function init($args) { parent::init($args); $this->feedId = mapIdForFeedData($args); if (isset($args['ALIASES'])) { $this->aliases = $args['ALIASES']; } }
public function init($args) { parent::init($args); $this->feedId = mapIdForFeedData($args); }