• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.