controller = new $modname(); } } function call($method) { if(! $this->controller) return false; if(method_exists($this->controller,$method)) return $this->controller->$method(); return false; } }