PHP code example of nongbit / codeigniter-datatable
1. Go to this page and download the library: Download nongbit/codeigniter-datatable library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nongbit / codeigniter-datatable example snippets
...
use Nongbit\DataTable\Traits\DataTable;
class Foo extends Model
{
use DataTable;
}
$builder->join('comments', 'comments.id = blogs.id', 'left')->datatables();