Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Classes | |
class | moodle_simplepie_file |
Moodle Customised version of the SimplePie_File class. More... | |
class | moodle_simplepie_sanitize |
Customised feed sanitization using HTMLPurifier. More... | |
Functions | |
without even the implied warranty of *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the *GNU General Public License for more details **You should have received a copy of the GNU General Public License *along with this program If see< http:** @ingroup moodle * @subpackage lib * @author Dan Poltawski< talktodan @gmail.com > * @license http:**Customised version of SimplePie for Moodle */require_once($CFG->libdir.'/filelib.php');require_once($CFG->libdir.'/simplepie/autoloader.php');class moodle_simplepie extends SimplePie\SimplePie { public __construct($feedurl=null, $timeout=2) { $cachedir=moodle_simplepie::get_cache_directory();check_dir_exists($cachedir);parent::__construct();$registry=$this-> | get_registry () |
static | reset_cache () |
Reset RSS cache. | |
Variables | |
* | http |
either version of the | License |
without even the implied warranty of *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the *GNU General Public License for more details **You should have received a copy of the GNU General Public License *along with this program If | not |
$this | sanitize = new moodle_simplepie_sanitize() |
either version of the or *at your option any later version **This program is distributed in the hope that it will be | useful |
either version of the or *at your option any later version **This program is distributed in the hope that it will be *but WITHOUT ANY | WARRANTY |
|
static |
Reset RSS cache.
boolean | success if cache clear or didn't exist |