| 1 | <?php |
||
| 10 | class SimplePieSetUp |
||
| 11 | { |
||
| 12 | public $feed; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * SimplePieSetUp constructor. |
||
| 16 | */ |
||
| 17 | public function __construct() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Load the config array. |
||
| 24 | * |
||
| 25 | * @param array $config |
||
| 26 | * |
||
| 27 | * @return \SimplePie |
||
| 28 | */ |
||
| 29 | public function loadConfig(array $config) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Init SimplePie. |
||
| 47 | */ |
||
| 48 | public function init() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Set the feed url. |
||
| 55 | * |
||
| 56 | * @param $url |
||
| 57 | */ |
||
| 58 | public function setRSSFeedUrl($url) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Wrapper for MIME-types. |
||
| 65 | */ |
||
| 66 | public function handleContentType() |
||
| 70 | } |
||
| 71 |