Welcome Guest, Not a member yet? Register   Sign In
How to acess class load in Classmao in ci4

Hello community how can we acess the class we loaded in Classmao in the autoload.php

My class => Apppath/ third-party/class.php.

How can I extend the Myclass

You need to tell it in a use clause where the namespace is.

PHP Code:
use Apppath\third-party\class; 

Then you would extend it like so.

PHP Code:
class MyClass extends class

I have not used the Third Party folder but see if that will work for you.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB