#23-1 Custom Libraries in CodeIgniter 4

preview_player
Показать описание
Custom Libraries in Codeigniter 4 :
A library is a Class which contains collection of methods and properties.
All the custom libraries are placed inside App/Libraries folder
Custom libraries are imported by using its namespace
Рекомендации по теме
Комментарии
Автор

Class "App\Models\AutoModel" not found

sachinkb
Автор

all of your videos are best of the best

ruma
Автор

thanks for the content, in ci3 I had my libs organized in subfolders, now in ci4 I have no idea how to keep this organization and how to call a lib in a subfolder in the libraries folder.

RogerGoll
Автор

It is confusing that you communicate the db using libraries, I thought Models do the work? And now I don't understand the role of libraries plss explain...

psychodepth
Автор

I am not able to find AutoModel in Codeigniter 4.1.8. This is the error thrown [ Class "App\Models\AutoModel" not found ]. Can you help me please? Thanks

drm
Автор

I did the same and having page not found error.

iamansohal
Автор

But, what happens if I create another class in the TestLibrary library?

macruzgi
Автор

Need guidance on
Libraries
As get_instance
Url - segment
Call libraries class function in View file
It was easier in ci3
Please guide

lifejoin
Автор

At first Thank You for these great videos Sir!
I had a question please, is it correct that we can create instance of libraries in Controller as well?
And is it okay if i use only model to retrieve or insert data into database?

wovenyarrn
Автор

Monday is here sir, where is our video ?

jayantsingh
Автор

can you expain how we can interract with content i vendor, i.e if i download some modules with composer and autoload it, how can i use that peace of code?

hamzalijameco
Автор

Nah, you didn't create the auto model in the previous video. Btw it will be helpful if you please make a video on how to pass parameters between instance and class. Thanks

aniksen
Автор

S3 bucket use into ci 4 project. Please help anyone.

anilsharma
Автор

sir in which tutorial you make automodel

aaniqchagani
Автор

Hi, you are doing a great job on the lecture but a hopeless job on the examples. I am in lesson 23-1 which came out of sequence the playlist. Next, when you creating the controller class, we see you have more controllers than we have. The worst part is you keep referring to a previous lecture such google api which we never heard of. Last and again, the table "employees" does not exist in the previous download you gave me. Can you explain how are are we going to follow?? Yes, we can use our own table but when errors occur, what happens?? This video is a total mess and stop catching the train! PLEASE DO NOT DO THIS FOR JUST MAKING MONEY, DO THIS ALSO TO BUILD YOUR CREDIBILITY! I am sorry this is a harsh comment, unfortunately many courses done by the guys from India have the same problem. That is why UDEMY is better.

truthteachers
join shbcf.ru