You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
						
							 | 
							- <?php
 - 
 - use SimplePie\SimplePie;
 - use dokuwiki\FeedParserFile;
 - use SimplePie\File;
 - 
 - /**
 -  * We override some methods of the original SimplePie class here
 -  */
 - class FeedParser extends SimplePie
 - {
 -     /**
 -      * Constructor. Set some defaults
 -      */
 -     public function __construct()
 -     {
 -         parent::__construct();
 -         $this->enable_cache(false);
 -         $this->registry->register(File::class, FeedParserFile::class);
 -     }
 - 
 -     /**
 -      * Backward compatibility for older plugins
 -      *
 -      * phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps
 -      * @param string $url
 -      */
 -     public function feed_url($url)
 -     {
 -         $this->set_feed_url($url);
 -     }
 - }
 
 
  |