-
SYSTEMPATH/View/View.php : 201 — CodeIgniter\Exceptions\FrameworkException::forInvalidFile ()
194 195 if (! is_file($this->renderVars['file'])) { 196 $this->renderVars['file'] = $this->loader->locateFile($this->renderVars['view'], 'Views', empty($fileExt) ? 'php' : $fileExt); 197 } 198 199 // locateFile will return an empty string if the file cannot be found. 200 if (empty($this->renderVars['file'])) { 201 throw ViewException::forInvalidFile($this->renderVars['view']); 202 } 203 204 // Make our view data available to the view. 205 $this->prepareTemplateData($saveData); 206 207 // Save current vars 208 $renderVars = $this->renderVars;
-
SYSTEMPATH/Common.php : 1134 — CodeIgniter\View\View->render ()
1127 $saveData = $config->saveData; 1128 1129 if (array_key_exists('saveData', $options)) { 1130 $saveData = (bool) $options['saveData']; 1131 unset($options['saveData']); 1132 } 1133 1134 return $renderer->setData($data, 'raw')->render($name, $options, $saveData); 1135 } 1136 } 1137 1138 if (! function_exists('view_cell')) { 1139 /** 1140 * View cells are used within views to insert HTML chunks that are managed 1141 * by other classes.
-
APPPATH/Controllers/Home.php : 13 — view()
-
SYSTEMPATH/CodeIgniter.php : 927 — App\Controllers\Home->index ()
920 $output = $class->_remap($this->method, $params); 921 } else { 922 // This is a Web request or PHP CLI request 923 $params = $this->router->params(); 924 925 $output = method_exists($class, '_remap') 926 ? $class->_remap($this->method, ...$params) 927 : $class->{$this->method}(...$params); 928 } 929 930 $this->benchmark->stop('controller'); 931 932 return $output; 933 } 934
-
SYSTEMPATH/CodeIgniter.php : 482 — CodeIgniter\CodeIgniter->runController ()
475 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { 476 throw PageNotFoundException::forMethodNotFound($this->method); 477 } 478 479 // Is there a "post_controller_constructor" event? 480 Events::trigger('post_controller_constructor'); 481 482 $returned = $this->runController($controller); 483 } else { 484 $this->benchmark->stop('controller_constructor'); 485 $this->benchmark->stop('controller'); 486 } 487 488 // If $returned is a string, then the controller output something, 489 // probably a view, instead of echoing it directly. Send it along
-
SYSTEMPATH/CodeIgniter.php : 351 — CodeIgniter\CodeIgniter->handleRequest ()
344 345 // spark command has nothing to do with HTTP redirect and 404 346 if ($this->isSparked()) { 347 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 348 } 349 350 try { 351 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 352 } catch (RedirectException $e) { 353 $logger = Services::logger(); 354 $logger->info('REDIRECTED ROUTE at ' . $e->getMessage()); 355 356 // If the route is a 'redirect' route, it throws 357 // the exception with the $to as the message 358 $this->response->redirect(base_url($e->getMessage()), 'auto', $e->getCode());
-
FCPATH/index.php : 68 — CodeIgniter\CodeIgniter->run ()
61 *--------------------------------------------------------------- 62 * LAUNCH THE APPLICATION 63 *--------------------------------------------------------------- 64 * Now that everything is setup, it's time to actually fire 65 * up the engines and make this app do its thang. 66 */ 67 68 $app->run(); 69 70