Welcome Guest, Not a member yet? Register   Sign In
Is Codeigniter case sensitive?
#4

[eluser]PhilTem[/eluser]
If you took a closer look at the CI core (mainly the loader-class), you will find this line of code

Code:
// Set the variable name we will assign the class to
// Was a custom class name supplied?  If so we'll use it
$class = strtolower($class);

which implies that everything in CI is accessed by $this->lowered_class_name and nothing else. Following the naming conventions for libraries, controllers, and models would also never make a

Code:
$this->load->library('UPPERCASE_Library');

possible, since it should be avoided using the CI naming convention (cannot find the link at the moment)


Messages In This Thread
Is Codeigniter case sensitive? - by El Forum - 08-02-2012, 09:38 AM
Is Codeigniter case sensitive? - by El Forum - 08-02-2012, 09:45 AM
Is Codeigniter case sensitive? - by El Forum - 08-02-2012, 10:00 AM
Is Codeigniter case sensitive? - by El Forum - 08-02-2012, 11:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB