mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-27 12:01:09 +03:00
20 lines
467 B
PHP
20 lines
467 B
PHP
<?php
|
|
interface ItemInterface{}
|
|
|
|
/**
|
|
* 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);
|
|
}
|
|
}
|