CodeIgniter.php
system/CodeIgniter.php
1 class
41 methods
class CodeIgniter
This class is the core of the framework, and will analyse the request, route it to a controller, and send back the response. Of course, there are variations to that flow, but this is the brains.
__construct
(App $config)
initialize
()
resolvePlatformExtensions
()
initializeKint
()
autoloadKint
()
void
($class)
configureKint
()
run
(?RouteCollectionInterface $routes = null, bool $returnResponse = false)
runRequiredBeforeFilters
(Filters $filters)
runRequiredAfterFilters
(Filters $filters)
isPhpCli
()
isWeb
()
disableFilters
()
handleRequest
(?RouteCollectionInterface $routes, Cache $cacheConfig, bool $returnResponse = false)
detectEnvironment
()
bootstrapEnvironment
()
startBenchmark
()
setRequest
($request)
getRequestObject
()
getResponseObject
()
forceSecureAccess
($duration = 31_536_000)
displayCache
(Cache $config)
cache
(int $time)
cachePage
(Cache $config)
getPerformanceStats
()
generateCacheName
(Cache $config)
displayPerformanceMetrics
(string $output)
tryToRouteIt
(?RouteCollectionInterface $routes = null)
determinePath
()
startController
()
createController
()
runController
($class)
display404errors
(PageNotFoundException $e)
gatherOutput
(?Cache $cacheConfig = null, $returned = null)
storePreviousURL
($uri)
spoofRequestMethod
()
sendResponse
()
callExit
($code)
setContext
(string $context)
outputBufferingStart
()
outputBufferingEnd
()