Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter4 ORM
Post: RE: CodeIgniter4 ORM

agungsugiarto Wrote: (07-14-2021, 02:17 AM) -- Codeigniter4 ORM Hello guys wanna share with you, This project is the result of porting Laravel Eloquent (https://github.com/illuminate/database) ...
8,467 Views
5 Replies
01-14-2022, 11:52 AM
x1250
    Thread: Relations Module
Post: RE: Relations Module

MGatner Wrote: (02-18-2020, 04:25 AM) -- @x1250 The Schemas dependency is essential to the design of the module, otherwise it wouldn’t know which tables are related to others and they nature of their...
26,719 Views
19 Replies
02-18-2020, 11:32 AM
x1250
    Thread: Integrating relationship query builder similar to Laravel
Post: RE: Integrating relationship query builder similar...

atsanna Wrote: (02-17-2020, 04:04 AM) -- This project of @hlohrenz seems abandoned to itself. Too bad: it would have been very useful... -- I hoped CI4 would incluse this feature, even if very basi...
20,706 Views
13 Replies
02-17-2020, 08:34 PM
x1250
    Thread: Relations Module
Post: RE: Relations Module

MGatner Wrote: (12-01-2019, 05:03 AM) -- Can you provide more details and some code samples? Most likely you’re timing out on the schema generation, which ideally should be happening ahead of time (e...
26,719 Views
19 Replies
02-17-2020, 08:24 PM
x1250
    Thread: Integrating relationship query builder similar to Laravel
Post: RE: Integrating relationship query builder similar...

Could anyone please explain how to install this? I see in BaseModel.php there is a: use Carbon\Traits\Date; Which is not in the repo. Step by step procedure to install this query builder? ...
20,706 Views
13 Replies
02-14-2020, 07:58 AM
x1250
    Thread: Extending core class IncomingRequest
Post: RE: Extending core class IncomingRequest

kilishan Wrote: (02-12-2020, 08:48 PM) -- Did you create a new Services method? Copy the request() method from system/Config/Services.php[/php] into app/Config/Services.php. Modify to load your n...
3,390 Views
3 Replies
02-14-2020, 06:46 AM
x1250
    Thread: Extending core class IncomingRequest
Post: Extending core class IncomingRequest

Hello folks. Someone has an idea of how making this work? app/Libraries/IncomingRequest.php PHP Code: --
3,390 Views
3 Replies
02-12-2020, 06:44 PM
x1250
    Thread: How to load in custom library in ci4
Post: RE: How to load in custom library in ci4

PHP Code: -- namespace App\Libraries; require_once APPPATH.'ThirdParty/Smarty/Autoloader.php'; use \Smarty_Autoloader; Smarty_Autoloader::register(); use \Smarty; class Yourclass exten...
35,652 Views
8 Replies
02-10-2020, 07:27 PM
x1250
    Thread: Creating a custom service/library
Post: RE: Creating a custom service/library

Assuming you define validationRules in the model, you need to use something like the following in your controller method: PHP Code: --     if (!$this->validate($model->validationRules)) {       $...
8,531 Views
5 Replies
02-05-2020, 08:30 AM
x1250
    Thread: Managing psr4 autoload inside a Controller
Post: Managing psr4 autoload inside a Controller

Hello, I'm trying to load psr4 data in a certain Controller, but this doesn't work: PHP Code: -- $psr4 = ['Something' => APPPATH.'Something']; $loader = new \CodeIgniter\Autoloader\Autoloader($...
1,043 Views
0 Replies
02-04-2020, 06:36 AM
x1250

Theme © iAndrew 2016 - Forum software by © MyBB