Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter Expenses - pet project for beginners
Post: RE: CodeIgniter Expenses - pet project for beginne...

Hi, Thank you for your project ! 1) Please explain how did you create/generate file public/assets/main.js ? I suppose under /public/ are file generated(not mannually putted) ? 2) Please explain toa...
769 Views
2 Replies
10-03-2023, 07:44 AM
petrogromovo
    Thread: enums in codeigniter 4 ?
Post: RE: enums in codeigniter 4 ?

kenjis Wrote: (10-03-2023, 01:30 AM) -- Enum is the new feature in PHP 8.1. https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.core.enums You cannot use it with P...
841 Views
7 Replies
10-03-2023, 03:46 AM
petrogromovo
    Thread: enums in codeigniter 4 ?
Post: RE: enums in codeigniter 4 ?

kenjis Wrote: (10-03-2023, 12:29 AM) -- Use PHP 8.1 or later. Create an ENUM file and put it in somewhere where PSR-4 autoloader can autoload. https://www.php.net/manual/en/language.enumerations.ba...
841 Views
7 Replies
10-03-2023, 12:47 AM
petrogromovo
    Thread: enums in codeigniter 4 ?
Post: enums in codeigniter 4 ?

I need to create enums on codeigniter 4.3.7 site (not in database) for passing enum as parameter to custom function... In which way can I do ? Thanks in advance!
841 Views
7 Replies
10-02-2023, 11:54 PM
petrogromovo
    Thread: How to call function from custom helper ?
Post: How to call function from custom helper ?

On codeigniter 4.3.7 site I need to create a custom helper so I created a file app/Helpers/helper.php with code: PHP Code: -- -- But I got error that function formatDateTime not fou...
997 Views
6 Replies
10-02-2023, 07:22 AM
petrogromovo
    Thread: Why controller under admin subdirectory not found?
Post: Why controller under admin subdirectory not found?

In codeigniter  4.3.7  I created new controller file under subdirectory app/Controllers/admin/Category.php with defined : PHP Code: --    
601 Views
2 Replies
10-01-2023, 11:15 PM
petrogromovo

Theme © iAndrew 2016 - Forum software by © MyBB