Search Results
|
|
|
Thread: Pagination
Post: Pagination
Hello I have a problem with paging the results of a query, I have read the documentation for codeigniter4 pagination,
But they show how to paginate the results of all the data in a table. I don't ... |
|
1,403 Views
2 Replies
|
03-27-2021, 08:05 AM Llui7 |
|
|
|
Thread: helper
Post: RE: helper
sammyskills Wrote: (12-03-2020, 06:51 AM)
--
Llui7 Wrote: (12-03-2020, 02:56 AM)
--
Hello
I am new to codeginiter4
I cannot see the controller that I am currently in from a helper.
In codeig... |
|
3,253 Views
6 Replies
|
12-04-2020, 07:39 AM Llui7 |
|
|
|
Thread: helper
Post: RE: helper
InsiteFX Wrote: (12-03-2020, 05:06 PM)
--
This is easy in CodeIgniter 4
PHP Code:
--
$router = service('router');
$controller = $router->controllerName();
$method = $router->methodName()... |
|
3,253 Views
6 Replies
|
12-04-2020, 07:37 AM Llui7 |
|
|
|
Thread: helper
Post: RE: helper
InsiteFX Wrote: (12-03-2020, 04:18 AM)
--
It would help if you tell us what it is you want to do not how you use to do it.
--
From a helper: show the current controller and the function of the pag... |
|
3,253 Views
6 Replies
|
12-03-2020, 04:28 AM Llui7 |
|
|
|
Thread: helper
Post: helper
Hello
I am new to codeginiter4
I cannot see the controller that I am currently in from a helper.
In codeigniter3 I used:
$ CI = & get_instance ();
$ CI-> router-> class;
$ CI-> router-> ... |
|
3,253 Views
6 Replies
|
12-03-2020, 02:56 AM Llui7 |
|