Welcome Guest, Not a member yet? Register   Sign In
Do I need to load My_ classes manually?
#3

[eluser]CroNiX[/eluser]
You only use the MY_ prefix when extending native CI things, like a library.

class MY_Form_validation extends CI_Form_validation

Then if the Form_validation library is autoloaded, it will autoload MY_Form_validation.

Its only for extending native CI classes though, not your own functions (unless those extend a native CI class)

http://ellislab.com/codeigniter/user-gui...aries.html


Messages In This Thread
Do I need to load My_ classes manually? - by El Forum - 10-09-2010, 05:56 PM
Do I need to load My_ classes manually? - by El Forum - 10-09-2010, 06:28 PM
Do I need to load My_ classes manually? - by El Forum - 10-09-2010, 06:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB