|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| moodle_simplepie_file ($url, $timeout=10, $redirects=5, $headers=null, $useragent=null, $force_fsockopen=false) | |
Moodle Customised version of the SimplePie_File class
This class extends the stock SimplePie class in order to utilise Moodles own curl class for making http requests. By using the moodle curl class we ensure that the correct proxy configuration is used.
Definition at line 115 of file moodle_simplepie.php.
| moodle_simplepie_file | ( | $ | url, |
| $ | timeout = 10, |
||
| $ | redirects = 5, |
||
| $ | headers = null, |
||
| $ | useragent = null, |
||
| $ | force_fsockopen = false |
||
| ) |
The contructor is a copy of the stock simplepie File class which has been modifed to add in use the Moodle curl class rather than php curl functions.
Definition at line 123 of file moodle_simplepie.php.
