blob: 5ce7fc2ff77f2b521e19b9aab8c6eaa0a9c6962c [file] [log] [blame]
Derek Jones8ede1a22011-10-05 13:34:52 -05001##############
2Reserved Names
3##############
4
5In order to help out, CodeIgniter uses a series of functions and names
6in its operation. Because of this, some names cannot be used by a
7developer. Following is a list of reserved names that cannot be used.
8
9Controller names
10----------------
11
12Since your controller classes will extend the main application
13controller you must be careful not to name your functions identically to
14the ones used by that class, otherwise your local functions will
15override them. The following is a list of reserved names. Do not name
16your controller any of these:
17
18- Controller
19- CI_Base
20- _ci_initialize
21- Default
22- index
23
24Functions
25---------
26
27- is_really_writable()
28- load_class()
29- get_config()
30- config_item()
31- show_error()
32- show_404()
33- log_message()
34- _exception_handler()
35- get_instance()
36
37Variables
38---------
39
40- $config
41- $mimes
42- $lang
43
44Constants
45---------
46
47- ENVIRONMENT
48- EXT
49- FCPATH
50- SELF
51- BASEPATH
52- APPPATH
53- CI_VERSION
54- FILE_READ_MODE
55- FILE_WRITE_MODE
56- DIR_READ_MODE
57- DIR_WRITE_MODE
58- FOPEN_READ
59- FOPEN_READ_WRITE
60- FOPEN_WRITE_CREATE_DESTRUCTIVE
61- FOPEN_READ_WRITE_CREATE_DESTRUCTIVE
62- FOPEN_WRITE_CREATE
63- FOPEN_READ_WRITE_CREATE
64- FOPEN_WRITE_CREATE_STRICT
65- FOPEN_READ_WRITE_CREATE_STRICT
66