public function init($args)
 {
     parent::init($args);
     if (isset($args['SPORT'])) {
         $this->sport = $args['SPORT'];
     }
 }
 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);
     $this->feedId = mapIdForFeedData($args);
     if (isset($args['ALIASES'])) {
         $this->aliases = $args['ALIASES'];
     }
 }
Example #4
0
 public function clearInternalCache()
 {
     parent::clearInternalCache();
     $this->wsdl = new WSDLData();
 }
 public function parseData($contents)
 {
     $this->features = array();
     return parent::parseData($contents);
 }
 public function parseData($contents)
 {
     $newSignature = strlen($contents);
     if (!$this->features || $newSignature != $this->lastParseSignature) {
         $this->features = array();
         $this->folders = array();
         $this->lastParseSignature = $newSignature;
         return parent::parseData($contents);
     }
     return $this->features;
 }
Example #7
0
 public function init($args)
 {
     parent::init($args);
     $this->feedId = mapIdForFeedData($args);
 }