Welcome Guest, Not a member yet? Register   Sign In
Calling library method inside model error (with solution)
#3

(09-26-2018, 01:15 PM)Wouter60 Wrote: Whats the reason why you are loading the second library into the first one? Wouldn't it be better to:
PHP Code:
class Mysecondlibrary extends Mylibrary 

That way, you can call methods in Mylibrary through $this->mysecondlibrary->

Thanks for your contribution, in this case I am using mylibrary only to load all libraries, methods, helpers into the memory but mylibrary has no methods or variables that I can use from mysecondlibrary.
Reply


Messages In This Thread
RE: Calling library method inside model error (with solution) - by elche - 09-26-2018, 02:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB