2013-08-11 13:30:41 +02:00
|
|
|
<?php
|
|
|
|
interface ItemInterface{}
|
|
|
|
|
|
|
|
/**
|
2016-01-19 13:34:38 +01:00
|
|
|
* 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{
|
2016-01-19 13:34:38 +01:00
|
|
|
|
|
|
|
// 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){
|
2016-01-19 13:34:38 +01:00
|
|
|
return (isset($this->$name) ? $this->$name : null);
|
2013-08-11 13:30:41 +02:00
|
|
|
}
|
2015-11-11 22:45:24 +01:00
|
|
|
}
|