Identify reserved name in Codeigniter

In order to help out, CodeIgniter uses a series of functions and names in its operation. Because of this, some names cannot be used by a developer. Following is a list of reserved names that cannot be used.

Controller names

Since your controller classes will extend the main application controller you must be careful not to name your functions identically to the ones used by that class, otherwise your local functions will override them. The following is a list of reserved names. Do not name your controller any of these:

    1) Controller
    2) CI_Base
    3) _ci_initialize
    4) Default
    5) index

Functions

    1) is_really_writable()
    2) load_class()
    3) get_config()
    4) config_item()
    5) show_error()
    6) show_404()
    7) log_message()
    8) _exception_handler()
    9) get_instance()

Variables

    1) $config
    2) $mimes
    3) $lang

Constants

    1) ENVIRONMENT
    2) EXT
    3) FCPATH
    4) SELF
    5) BASEPATH
    6) APPPATH
    7) CI_VERSION
    8) FILE_READ_MODE
    9) FILE_WRITE_MODE
    10) DIR_READ_MODE
    11) DIR_WRITE_MODE
    12) FOPEN_READ
    13) FOPEN_READ_WRITE
    14) FOPEN_WRITE_CREATE_DESTRUCTIVE
    15) FOPEN_READ_WRITE_CREATE_DESTRUCTIVE
    16) FOPEN_WRITE_CREATE
    17) FOPEN_READ_WRITE_CREATE
    18) FOPEN_WRITE_CREATE_STRICT
    19) FOPEN_READ_WRITE_CREATE_STRICT