Welcome Guest, Not a member yet? Register   Sign In
CI 2.x->3.x Class Names?
#1

I'm upgrading from CI 2.x to 3.x.  I see that I will be changing the case of class names to make them have initial caps. E.g.:

PHP Code:
application/libraries/mylibrary.php 

becomes:

PHP Code:
application/libraries/Mylibrary.php 

Question: do I also need to update references to that class in the code? E.g. do the following need to change as well?

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

$this->mylibrary->myfunction(); 

...or, can I leave those unchanged?

Thanks in advance for the info
Reply


Messages In This Thread
CI 2.x->3.x Class Names? - by VikRubenfeld - 11-11-2016, 11:18 AM
RE: CI 2.x->3.x Class Names? - by Wouter60 - 11-11-2016, 11:33 AM
RE: CI 2.x->3.x Class Names? - by Narf - 11-11-2016, 01:31 PM
RE: CI 2.x->3.x Class Names? - by VikRubenfeld - 11-11-2016, 11:40 AM
RE: CI 2.x->3.x Class Names? - by wolfgang1983 - 11-11-2016, 03:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB