Welcome Guest, Not a member yet? Register   Sign In
Calling library methods
#1

[eluser]Unknown[/eluser]
Hi,

I see some controllers call a library method as:

Code:
$this->library_class->method

It is okay to do:

Code:
$foo = new library_class();
$foo->method

Not sure what the difference is here?

Thanks





Theme © iAndrew 2016 - Forum software by © MyBB