public function route_page() { $route = Uiform_Form_Helper::getroute(); if (!empty($route['module']) && !empty($route['controller']) && !empty($route['action'])) { if (method_exists($this->modules[$route['module']][$route['controller']], $route['action'])) { $this->modules[$route['module']][$route['controller']]->{$route}['action'](); } else { echo 'wrong url'; } } else { $this->modules['formbuilder']['forms']->list_uiforms(); } }