| executing the application routines. | | Note: Do not mess with the $recursive array. | It is designed to be used by the Loader class | to recursively load classes in the event | that users decide to use the $this->load->library | function in their constructors. Since constructors | are called before the class object variable is set | as an object (in this case $CI), we need to | recursively set the array so that the requested | items can be loaded. | */ $recursive = array(); $class = $RTR->fetch_class(); $method = $RTR->fetch_method(); if (!class_exists($class)) { show_404($class); } $CI = new $class(); if (count($recursive) > 0) { foreach ($recursive as $key => $val) { $CI->initialize($key, $val); } } /* |------------------------------------------------ | Call the requested Method and display output |------------------------------------------------ | | If the method doesn't exist admonish them harshly.