Rss-Bridge/lib/Item.php

21 lines
467 B
PHP
Raw Normal View History

2013-08-11 13:30:41 +02:00
<?php
interface ItemInterface{}
/**
* Object to store datas collect informations
* FIXME : not sur this logic is the good, I think recast all is necessary
*/
2013-08-11 13:30:41 +02:00
class Item implements ItemInterface{
// FIXME : use the arrayInterface instead
public $enclosures = array();
2013-08-11 13:30:41 +02:00
public function __set($name, $value){
$this->$name = $value;
}
public function __get($name){
return (isset($this->$name) ? $this->$name : null);
2013-08-11 13:30:41 +02:00
}
}