Refonte du code
This commit is contained in:
parent
3c929e0aa6
commit
927b04dfef
20 changed files with 1137 additions and 475 deletions
lib
16
lib/Item.php
Normal file
16
lib/Item.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?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{
|
||||
public function __set($name, $value){
|
||||
$this->$name = $value;
|
||||
}
|
||||
|
||||
public function __get($name){
|
||||
return isset($this->$name) ? $this->$name : null;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue