ajout de la partie slam dans le dossier web

This commit is contained in:
root
2022-03-10 11:56:26 +01:00
parent 31d3052792
commit e375c4f088
4847 changed files with 325719 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
/**
* 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->set_file_class(\dokuwiki\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);
}
}