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']);
     }
 }
예제 #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 clearInternalCache()
 {
     parent::clearInternalCache();
     $this->wsdl = new WSDLData();
 }
예제 #5
0
 public function parseData($contents)
 {
     $this->features = array();
     return parent::parseData($contents);
 }
예제 #6
0
 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;
 }
예제 #7
0
 public function init($args)
 {
     parent::init($args);
     $this->feedId = mapIdForFeedData($args);
 }