. */ /** * classe abstract_module * @author Mika * @link http://mkf.mkdevs.com/ */ abstract class abstract_module{ protected $_tVar; /** * setter */ public function __set($sVar,$sVal){ $this->_tVar[$sVar]=$sVal; } /** * getter */ public function __get($sVar){ if(!isset($this->_tVar[$sVar])){ throw new Exception('Propriete '.$sVar.' _module inexistant'); } return $this->_tVar[$sVar]; } public function before(){ } public function after(){ } }