Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
CodeIgniter 4
CodeIgniter 4 Discussion
CodeIgniter4 - Event pass by ???
Pages (2):
« Previous
1
2
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
CodeIgniter4 - Event pass by ???
abrkof
Junior Member
Posts:
15
Threads:
0
Joined:
Dec 2014
Reputation:
0
#11
01-04-2020, 09:41 AM
how i can auto load a class in events?
example: class, function? in the directory libraries.
Reply
kilishan
CI Project Lead
Posts:
1,462
Threads:
90
Joined:
Oct 2014
Reputation:
120
#12
01-06-2020, 09:28 AM
As long as it is namespaced and the app will recognize the namespace (either through our autoloader or Composer) it should work just fine. Provide the fully qualified class name when you assign your listener.
Support Development
•
CodeIgniter 4 Foundations
•
Practical CodeIgniter 3
•
CodeIgniter Tutorials
Reply
Pages (2):
« Previous
1
2
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB