Welcome Guest, Not a member yet? Register   Sign In
How to use namespace with CI?
#1

[eluser]Unknown[/eluser]
Hello everybody,

How to use PHP5 namespace in CI?
If, CI not support namespace, when u support?

Best regards.
#2

[eluser]Josh Holloway[/eluser]
Codeigniter doesn't use namespaces and, as far as I'm aware, there's not any plans to add namespaces yet.

The main structure of the framework doesn't support namespaces without a major re-write (As far as I can see from the way the framework is structured). However, that said, it is an open source, community driven framework so, if you want to incorporate namespaces fork it on github or bitbucket and give it a go.
#3

[eluser]porquero[/eluser]
I patched codeigniter to work with namespaces in controllers.
see http://ellislab.com/forums/viewthread/212661/




Theme © iAndrew 2016 - Forum software by © MyBB