| 1 | <?php |
||
| 13 | class FeedParser extends SimplePie { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Constructor. Set some defaults |
||
| 17 | */ |
||
| 18 | function __construct(){ |
||
|
|
|||
| 19 | parent::__construct(); |
||
| 20 | $this->enable_cache(false); |
||
| 21 | $this->set_file_class('FeedParser_File'); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Backward compatibility for older plugins |
||
| 26 | */ |
||
| 27 | function feed_url($url){ |
||
| 30 | } |
||
| 31 | |||
| 77 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.