Welcome Guest, Not a member yet? Register   Sign In
About codeiniters structure
#4

[eluser]Stoney[/eluser]
I have found somewhere the CI loading steps.

CodeIgniter.php

1) Defines the CI version - CI_VERSION
2) Defines the CI Core - FALSE
3) Loads the global functions - core/Common.php
4) Loads the constants - ./application/config/environment/constants.php
OR Loads the Constants - ./application/config/constants.php
5) Defines the custom error handler - _exception_handler
6) Sets the subclass_prefix MY_
7) Sets a liberal script execution time limit
8) Starts the start timer
9) Instantiates the Core Hooks Class
10) Instantiates the pre system hook
11) Instantiates the Core Config Class
12) Instantiates the Core Utf8 Class
13) Instantiates the Core URI class
14) Instantiates the Core Router Class
15) Instantiates the Core Output Class
16) Checks for a valid cache file
17) Instantiates the Core Security Class
18) Instantiates the Core Input Class
19) Instantiates the Core Lang Class
20) Instantiates the Core Controller Class and ./application/core/MY_Controller
21) Instantiates the Application Controllers ./application/controllers
22) Security check for _Private functions
23) Instantiates the pre_controller hook
24) Instantiates the requested controller
25) Instantiates the post controller constructor hook
26) Instantiates the requested method
27) Instantiates the post controller hook
28) Sends final rendered output to the browser
29) Instantiates the post system hook
30) Closes the database connection


Messages In This Thread
About codeiniters structure - by El Forum - 11-07-2012, 11:27 PM
About codeiniters structure - by El Forum - 11-09-2012, 03:49 AM
About codeiniters structure - by El Forum - 11-09-2012, 05:28 AM
About codeiniters structure - by El Forum - 11-14-2012, 01:37 AM
About codeiniters structure - by El Forum - 11-14-2012, 02:05 AM
About codeiniters structure - by El Forum - 11-14-2012, 03:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB