Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Model files in CI4
Post: RE: Model files in CI4

In other words: in Ci3 documentation there was a chapter "General Topics/Creating Libraries"; where is it in Ci4? Disappeared! Now, after months wasted, I think that, instead of CI Libraries, I have...
11,413 Views
21 Replies
09-25-2021, 09:34 AM
Filippo65
    Thread: Model files in CI4
Post: RE: Model files in CI4

includebeer Wrote: (09-05-2021, 03:39 PM) -- Sorry for the very late reply. I was busy with "life"... Anyway, like ikesela said, use the model() (https://github.com/codeigniter4/CodeIgniter4/blob/d...
11,413 Views
21 Replies
09-23-2021, 07:44 AM
Filippo65
    Thread: Codeigniter - Italian Community
Post: RE: Codeigniter - Italian Community

Matleyx Wrote: (06-10-2019, 02:47 AM) -- Buongiorno. Mi presento: Mi chiamo Matteo, e anche io smanetto su questo framework. Ultimamente sto anche facendo qualche test con Codeiniter 4 Ciao a ...
31,183 Views
20 Replies
08-20-2021, 09:57 AM
Filippo65
    Thread: Model files in CI4
Post: Model files in CI4

OK for the Model file, thanks. But I still have some doubt on controller and libraries (the part that handles the model): Previous version, in CI3, was: File Home.php: Code: -- -- PHP Code: -...
11,413 Views
21 Replies
08-20-2021, 09:28 AM
Filippo65
    Thread: Model files in CI4
Post: RE: Model files in CI4

Got it! I must use $this->db->query($sql); So, now my Model is:
11,413 Views
21 Replies
07-21-2021, 10:30 AM
Filippo65
    Thread: Model files in CI4
Post: RE: Model files in CI4

2.nd version of Model:
11,413 Views
21 Replies
07-20-2021, 12:47 PM
Filippo65
    Thread: Model files in CI4
Post: RE: Model files in CI4

Thanks includebeer. Regard Models, since my primary keys are a combination of several columns (in order to avoid future overflows), I need a different way to handle the DB. The User Guide speaks abo...
11,413 Views
21 Replies
07-20-2021, 10:52 AM
Filippo65
    Thread: Model files in CI4
Post: RE: Model files in CI4

Thankyou very much Includebeer. I already had many controllers, multi-level libraries, models in my CI3 version. The questions are: 1) I'm already grouping many tabel's data into big multi-tabl...
11,413 Views
21 Replies
07-19-2021, 10:57 AM
Filippo65
    Thread: Model files in CI4
Post: RE: Model files in CI4

Sorry, my english is not good, but the first and last answers seem inconsistent to me; maybe I was not clear or I misanderstood some answare. I asked if I can gruope many entity declaration into one ...
11,413 Views
21 Replies
07-14-2021, 11:18 AM
Filippo65
    Thread: Model files in CI4
Post: RE: Model files in CI4

Thanks for reply, but I can't figure it out. Example: I have a DB table named AA_Tabella1. My Entity file is Entities/E_Comuni.php:
11,413 Views
21 Replies
07-12-2021, 10:06 AM
Filippo65
    Thread: Codeigniter - Italian Community
Post: RE: Codeigniter - Italian Community

Buoasera, vedo poco traffico recente... Qualcuno ha cominciato ad usare CI4?
31,183 Views
20 Replies
07-06-2021, 11:07 AM
Filippo65
    Thread: Model files in CI4
Post: Model files in CI4

Hi, I've started to develope my second project with Ci3, but now, after an upgrade to php 7.4, I got some errors, and I decided to rewrite everything in Ci4. It's a big job, but the Ci4 Application ...
11,413 Views
21 Replies
07-06-2021, 10:39 AM
Filippo65

Theme © iAndrew 2016 - Forum software by © MyBB