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