Welcome Guest, Not a member yet? Register   Sign In
Class alias array config in future release of codeigniter
#2

I was thinking about the same thing few days ago.
My idea was related with easy way to extend core class as Router or other..

With providing 1 real and 1 public namespace for CI System.

The public namespace would be alias of the real but it will checks and configuration if there is some manual set alias which should overwrite the original..
Something as:

Router class..
class CodeIgniter/Router{} - The real Router class
class CI/Router{} - The alias class which will be used from developers inside their apps
class App/System/CustomRouter{} - The custom written Router which will be mapped as CI/Router inside the app configuration..
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
RE: Class alias array config in future release of codeigniter - by sv3tli0 - 12-27-2015, 01:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB