Welcome Guest, Not a member yet? Register   Sign In
what is the way to calling a library in object oriented style?
#1

i need a tip on this. Since CI libraries are classes isn't there a way to just call a class with or without namespace :
$blogs = new Blog(); or
$blogs = new Site\Blog();
$blogs->method();
i mean this way instead of loading it first the CI way before using it.
Thanks
Be Simple Angel
Reply


Messages In This Thread
what is the way to calling a library in object oriented style? - by waptik - 05-31-2016, 09:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB