Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Pagination with Custom model
Post: RE: Pagination with Custom model

(12-31-2020, 03:59 AM)Here we go. Wrote: CONTROLLER: PHP Code:<?phpnamespace App\Controllers;use App\Models\CustomModel;class Annunci extends BaseControlle...
Mostafa Khudair CodeIgniter 4 Support 13 1,654 01-04-2021, 10:04 AM
    Thread: CI4 use model's method in view
Post: RE: CI4 use model's method in view

just call: PHP Code:model('CodeigniterModel'); 
Mostafa Khudair Model-View-Controller 11 4,415 06-21-2020, 09:40 AM
    Thread: How to use Helper function on view - CI4?
Post: RE: How to use Helper function on view - CI4?

In your view file just call helper() function. for example if you want to use form helper in view and you didn't define it in controller just do this in view: PHP Code:<?php helper('form');&n...
Mostafa Khudair CodeIgniter 4 Discussion 3 2,706 04-24-2020, 02:25 AM
  Lightbulb Thread: Parser function
Post: Parser function

I'm wondering why CodeIgniter doesn't provide parser function to grab Parser Class :huh: , so we can use it directly anywhere without calling it as instance.  :idea: for example: before "as document...
Mostafa Khudair Libraries & Helpers 1 1,008 02-09-2020, 12:05 PM
    Thread: How to enable debug toolbar in CI4.0.0-rc.3
Post: RE: How to enable debug toolbar in CI4.0.0-rc.3

You have to set $indexPage to '' (blank)
Mostafa Khudair CodeIgniter 4 Support 28 9,522 01-19-2020, 12:37 PM
    Thread: Set Environment via Config\App
Post: Set Environment via Config\App

Hello guys, I was thinking of a simple way to change between supported framework environments, so i made this. Step 1: we need to configure environment via \Config\App at App/Config/App.php file: PHP...
Mostafa Khudair CodeIgniter 4 Discussion 1 1,228 12-24-2019, 02:16 PM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.