aParams=$aParams; $this->oEngine=Engine::getInstance(); } protected function GetParam($sName,$def=null) { if (isset($this->aParams[$sName])) { return $this->aParams[$sName]; } else { return $def; } } public function __call($sName,$aArgs) { return $this->oEngine->_CallModule($sName,$aArgs); } abstract public function Exec(); } ?>