1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-28 12:20:12 +02:00

Add enclosures support, see example in DemoBridge.

This commit is contained in:
Teromene
2016-01-19 12:34:38 +00:00
parent e7595391cd
commit 4deefdfd7d
3 changed files with 29 additions and 5 deletions

View File

@@ -2,15 +2,19 @@
interface ItemInterface{}
/**
* Object to store datas collect informations
* FIXME : not sur this logic is the good, I think recast all is necessary
*/
* Object to store datas collect informations
* FIXME : not sur this logic is the good, I think recast all is necessary
*/
class Item implements ItemInterface{
// FIXME : use the arrayInterface instead
public $enclosures = array();
public function __set($name, $value){
$this->$name = $value;
}
public function __get($name){
return isset($this->$name) ? $this->$name : null;
return (isset($this->$name) ? $this->$name : null);
}
}