Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Integrating dompdf
Post: RE: Integrating dompdf
I would suggest you look at MPDF (get it via composer.
Very easy to setup and use. In my opinion the best pdf library as it support html and css. |
|
abatrans |
CodeIgniter 4 Addins
|
3 |
2,336 |
Yesterday, 02:14 PM |
|
|
Thread: Multiple Class Instances vs Function Call
Post: Multiple Class Instances vs Function Call
I have been pondering the wisdom of my methodology for a while and thought let's hear what the community has to say. I started this methodology using CI 3 and have now ported the principle to my CI4 a... |
|
abatrans |
Best Practices
|
2 |
737 |
11-27-2020, 10:02 AM |
|
|
Thread: Bookkeeping CRUD app
Post: RE: Bookkeeping CRUD app
@Natanchikk - If you use datatables to display your data and you have large volumes of data, I suggest you look into using datatables' server-sided processing https://datatables.net/manual/server-side... |
|
abatrans |
Choosing CodeIgniter
|
5 |
3,241 |
09-25-2020, 03:31 AM |
|
|
Thread: CodeIgniter 4 developers in South Africa
Post: RE: CodeIgniter 4 developers in South Africa
I have recently joined a South African Developers Slack group and created a CodeIgniter Channel. Please feel free to sign up as well https://zatech.co.za/ |
|
abatrans |
CodeIgniter 4 Discussion
|
6 |
1,334 |
09-06-2020, 06:04 AM |
|
|
Thread: CodeIgniter 4 developers in South Africa
Post: RE: CodeIgniter 4 developers in South Africa
Thanks guys, no i don't feel alone anymore. |
|
abatrans |
CodeIgniter 4 Discussion
|
6 |
1,334 |
09-05-2020, 01:21 PM |
|
|
Thread: CodeIgniter 4 developers in South Africa
Post: RE: CodeIgniter 4 developers in South Africa
Interesting, 87 views and not one comment or contact. Surely I am not the only one in South Africa. |
|
abatrans |
CodeIgniter 4 Discussion
|
6 |
1,334 |
08-19-2020, 06:39 AM |
|
|
Thread: CodeIgniter 4 developers in South Africa
Post: CodeIgniter 4 developers in South Africa
I hope this is the right place to ask.
I am formulating a disaster recovery plan for our development house as I was asked the question by a client "What do we do if something happens to you?". With t... |
|
abatrans |
CodeIgniter 4 Discussion
|
6 |
1,334 |
08-17-2020, 02:30 PM |
|
|
Thread: How to implement Server Side DataTable in CI4
Post: RE: How to implement Server Side DataTable in CI4
Try to remove the (:any) from the routing statement
Code:$routes->add('/product-code/showProductCodes(:any)', 'Code8ProductCode::showProductCodes');
change to:
Code:$routes->add('/produ... |
|
abatrans |
CodeIgniter 4 Discussion
|
5 |
2,650 |
08-02-2020, 01:45 PM |
|
|
Thread: New vid: 3 New Features in CI 4.0.4
Post: RE: New vid: 3 New Features in CI 4.0.4
Watched the video, great work. These videos are really very helpful. Hope you can find the time to make more of them. |
|
abatrans |
News & Discussion
|
17 |
24,518 |
07-18-2020, 03:25 AM |
|
|
Thread: Can't load pdf with using Mpdf in Codeigniter 4
Post: RE: Can't load pdf with using Mpdf in Codeigniter ...
I have been using Mpdf in my CI 3 projects and tested it in CI 4. The method I used was as below:
I installed Mpdf via composer.
Then I created my own helper function to create the Mpdf object. I ... |
|
abatrans |
CodeIgniter 4 Support
|
8 |
3,711 |
07-16-2020, 04:53 AM |
|
|
Thread: Database Num_rows()?
Post: RE: Database Num_rows()?
If you are in a CI4 model you can use the
PHP Code:$this->countAll() function.
Or if you used an instance of the base builder inside a model and you only want to count the rows that m... |
|
abatrans |
CodeIgniter 4 Support
|
10 |
7,596 |
03-02-2020, 01:04 PM |
|
|
Thread: Model database Query
Post: RE: Model database Query
If you use CI4 model, simply set the protected variables for $table, $returnType etc. then create function in the model:
PHP Code:public function give( $where=[] )&nbs... |
|
abatrans |
CodeIgniter 4 Support
|
2 |
722 |
03-02-2020, 12:51 PM |
|
|
Thread: Cancel $model->save($data) operation using $beforeInsert
Post: RE: Cancel $model->save($data) operation using $be...
In the model, set the protected $primaryKey to the primary key of your table.
Then when you use the $model->save( $data ) method - if there is a value set for an array element in the &... |
|
abatrans |
CodeIgniter 4 Support
|
6 |
2,606 |
01-13-2020, 07:42 AM |
|
|
Thread: Model Class - protected field for Order By
Post: Model Class - protected field for Order By
Please could you add a protected field for "Order By" in the Model Class.
Currently the data is ordered by the $primaryKey.
E.g. where this would be most helpful: Tables that are used as option... |
|
abatrans |
CodeIgniter 4 Feature Requests
|
0 |
1,070 |
11-28-2019, 03:03 AM |
|
|
Thread: Additional "Class Reference" sections to docs please
Post: RE: Additional "Class Reference" sections to docs ...
@ciadmin - a link on the User Guide to the API docs would be great.
Thanks to the team CI4 is great. |
|
abatrans |
CodeIgniter 4 Feature Requests
|
6 |
2,437 |
11-16-2019, 02:11 AM |
|
|
Thread: Class File - method getRandomName
Post: Class File - method getRandomName
A quick suggestion to add flexibility to the getRandomName function.
Add 2 parameters:
useTime - Boolean to indicate if the time value should be included as part of the generated file name - default ... |
|
abatrans |
CodeIgniter 4 Feature Requests
|
0 |
933 |
11-13-2019, 04:40 AM |