Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Entity allowed fields/attributes
Post: RE: Entity allowed fields/attributes

luckmoshy Wrote: (03-02-2023, 01:09 AM) -- refer here  https://codeigniter.com/user_guide/models/entities.html?highlight=entity -- Thanks. But is there a way provided by CI for example to use metho...
1,027 Views
3 Replies
03-02-2023, 01:46 AM
[email protected]
    Thread: Entity allowed fields/attributes
Post: Entity allowed fields/attributes

Hi. Please help me on how to make entity. Lets say i have user entity, then i have an array of name, address, email. Is there a way to make only allowed fields/attributes (lets say only name and email...
1,027 Views
3 Replies
03-01-2023, 05:23 AM
[email protected]
    Thread: CSRF error while uploadinga file bigger than 5-6 MB
Post: RE: CSRF error while uploadinga file bigger than 5...

SubrataJ Wrote: (12-12-2022, 03:27 AM) -- I want to apologize to everyone as I acted so foolishly and post this here, I just checked upload_max_filesize and it was only 5M, Thank you @"kairi.ex2@gmai...
4,284 Views
10 Replies
12-12-2022, 05:28 AM
[email protected]
    Thread: Model with joined tables
Post: RE: Model with joined tables

Maybe u can add callbacks on model to update/insert related data on other tables like on afterInsert and afterUpdate event.
1,310 Views
6 Replies
12-12-2022, 03:14 AM
[email protected]
    Thread: CSRF error while uploadinga file bigger than 5-6 MB
Post: RE: CSRF error while uploadinga file bigger than 5...

SubrataJ Wrote: (12-12-2022, 02:15 AM) -- kenjis Wrote: (12-12-2022, 12:52 AM) -- Now you know the file size does not matter. -- I didn't get it , but if you are saying file size doesn't matter the...
4,284 Views
10 Replies
12-12-2022, 02:57 AM
[email protected]
    Thread: How often do you use the backup() method of the database drivers?
Post: RE: How often do you use the backup() method of th...

najdanovicivan Wrote: (06-16-2021, 03:40 PM) -- Backup from CodeIgnter can create issues when you have virtual columns as those will get exported as data. One you try importing such backup the import...
67,484 Views
39 Replies
12-12-2022, 02:49 AM
[email protected]
    Thread: Codeigniter - Indonesia Community
Post: RE: Codeigniter - Indonesia Community

Salam kenal
340,506 Views
163 Replies
12-12-2022, 02:45 AM
[email protected]
    Thread: make:model with default database values
Post: RE: make:model with default database values

InsiteFX Wrote: (12-10-2022, 12:25 AM) -- Please Read: CodeIgniter 4 User Guide - Database Migrations (https://codeigniter.com/user_guide/dbmgmt/migration.html?highlight=migration#database-migrati...
1,699 Views
2 Replies
12-11-2022, 08:46 PM
[email protected]
    Thread: make:model with default database values
Post: make:model with default database values

I think it's great if the default Code: -- php spark make:model -- if provided table name then can have optional parameter (true/false) to supplied column names on created model class attributes a...
1,699 Views
2 Replies
12-09-2022, 10:59 AM
[email protected]
    Thread: Create Model with command line
Post: RE: Create Model with command line

Thank you all for helping me
4,042 Views
9 Replies
09-26-2022, 01:31 AM
[email protected]
    Thread: Create Model with command line
Post: RE: Create Model with command line

kenjis Wrote: (09-25-2022, 02:20 PM) -- If $cleanValidationRules is true, the validation rules for the field that is not contained in the passed data will be removed before validation. But it does...
4,042 Views
9 Replies
09-25-2022, 08:23 PM
[email protected]
    Thread: Create Model with command line
Post: RE: Create Model with command line

Thanks @"kenjis" , @"InsiteFX" So looking at your pointers does it means that if set to true then whenever we pass request data on model for easy to insert/update it will only validate only matching...
4,042 Views
9 Replies
09-25-2022, 06:44 AM
[email protected]
    Thread: Create Model with command line
Post: Create Model with command line

Hi.. I created model from command line and when i open the model file to edit there is this part which i don't understand. PHP Code: -- protected $cleanValidationRules = true; -- Can anyone giv...
4,042 Views
9 Replies
09-24-2022, 11:26 PM
[email protected]
    Thread: Codeigniter - Indonesia Community
Post: RE: Codeigniter - Indonesia Community

nuja Wrote: (11-13-2020, 02:03 AM) -- pembalap Wrote: (08-19-2020, 06:03 PM) -- Assalamualaikum Salam kenal teman-teman senior di forum ini. Mudah-mudahan kita bisa berbagi, apalgi di tengah pandem...
340,506 Views
163 Replies
12-12-2021, 05:43 AM
[email protected]
    Thread: CI 4 Output Compression
Post: RE: CI 4 Output Compression

stopz Wrote: (09-02-2021, 12:19 AM) -- In your Controller you can call for negotiator service to set gzip encoding. PHP Code: -- service('negotiator')->encoding(['gzip']); -- -- In my case i don'...
11,586 Views
7 Replies
12-12-2021, 05:33 AM
[email protected]
    Thread: Detecting Model->delete() query result - how to detect error?
Post: RE: Detecting Model->delete() query result - how t...

bivanbi Wrote: (07-03-2020, 11:20 PM) -- The above example is wrong, it will not detect a failed query. The easiest way to reproduce a failed query is, for instance, a foreign key constraint on th...
8,731 Views
8 Replies
12-12-2021, 04:02 AM
[email protected]
    Thread: Blank page on the web server
Post: RE: Blank page on the web server

MinimumViableProgrammer Wrote: (05-07-2020, 03:05 PM) -- Is the "compress_output" configuration variable something I can set to off in Codeigniter4? If so, where? Hate to hack at system files because...
27,938 Views
24 Replies
06-28-2021, 02:16 AM
[email protected]
    Thread: CI 4 Output Compression
Post: RE: CI 4 Output Compression

Thanks for replying, The server support gzip. Client browser also. Before i was doing with setting config.php output compression = true on CI3, so i was hoping if there is a way to set that on CI4 s...
11,586 Views
7 Replies
06-19-2021, 11:23 PM
[email protected]
    Thread: CI 4 Output Compression
Post: RE: CI 4 Output Compression

InsiteFX Wrote: (06-19-2021, 12:51 AM) -- READ: CodeIgniter 4 User Guide - Encoding (https://codeigniter.com/user_guide/incoming/content_negotiation.html#encoding) -- Thanks, i am new on web progr...
11,586 Views
7 Replies
06-19-2021, 07:43 AM
[email protected]
    Thread: CI 4 Output Compression
Post: CI 4 Output Compression

Hi.. Anyone can help how to set output compression on CI4? I read about content negotiation but no luck to set the output. On CI 3 i just change to this line on config.php $config['...
11,586 Views
7 Replies
06-18-2021, 07:23 AM
[email protected]

Theme © iAndrew 2016 - Forum software by © MyBB